aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes creating WAR file in Eclipse IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "creating WAR file in Eclipse IDE" Watch "creating WAR file in Eclipse IDE" New topic
Author

creating WAR file in Eclipse IDE

prakash chauhan
Ranch Hand

Joined: Jun 22, 2007
Posts: 81
Hi All ,
I am using Eclipse 3.x
When i create a project with the directory as follows selecting the project type just as Java Project:
MyProject
src
com.prakash/.class (class files)
web
WEB-INF
classes
lib
web.xml

now if i want to create a war file using the option Export , i can not choose this project its not available for exporting as a war file.

What is missing in this structure thats causing problem in creating a war file.
however if i go to command prompt and then try make a war file using the jar command , it makes the war file but when i try to put it in the deploy folder of JBoss , nothing happens , JBoss does not detect it at all ..
Thanks in Advance.
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Pick up the Eclipse WTP ebook ..it explains everything..


MobileBytes blog - Sharing Technology - My Programming Knols
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating WAR file in Eclipse IDE