Question on generating WAR file

This is a discussion on Question on generating WAR file within the J2EE forums in Framework and Interface Programming category; I am coming from Eclipse/MyEclipse, where generating a WAR is really simple. I code directly in my directory structure (src and webroot) and run the test server from there (webroot). When I compile, the class files go right to webroot/web-inf/classes. When I create a WAR, it just packages my web root and works nicely. I can't figure out how to do the same thinkg in IDEA. I am getting the compiled java files to go to classes, but it seems to do a lot more. When I build, it copies all my web root files (html) into web-inf/classes. I also ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-17-2008, 01:55 PM
Dave
Guest
 
Default Question on generating WAR file

I am coming from Eclipse/MyEclipse, where generating a WAR is really simple. I code directly in my directory structure (src and webroot) and run the test server from there (webroot). When I compile, the class files go right to webroot/web-inf/classes. When I create a WAR, it just packages my web root and works nicely.

I can't figure out how to do the same thinkg in IDEA. I am getting the compiled java files to go to classes, but it seems to do a lot more. When I build, it copies all my web root files (html) into web-inf/classes. I also don't get a complete WAR when I try to build.

I can get a bit further by specifying a deploy directory outside of the project directory, if I specify all the individual sub directories under the web root, I still cannot seem to get the html files in the web root directory to deploy. When I select the root, it complains that i already selected directories under that.


I think there is much for me to configure but I don't know where to start. I also think there are better ways to develop with IDEA. I am new to the product but love it so far, and am no longer using eclipse.

Thanks
Reply With Quote
  #2  
Old 03-17-2008, 02:21 PM
Dave
Guest
 
Default Re: Question on generating WAR file

Moved to new forum, please ignore
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:01 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.