File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to make our application war and jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to make our application war and jar file" Watch "How to make our application war and jar file" New topic
Author

How to make our application war and jar file

sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224
Dear All,
I know the folder structure of my web application.But could please
tell me how to convert my folder directory in jar and war file in command promt.

Example nlineBanking folder(It is in J2ee structure)

i want like OnlineBanking.war and OnlineBanking.jar.

Thanks and Regards
Sumanta Panda
Sivaraman Lakshmanan
Ranch Hand

Joined: Aug 02, 2003
Posts: 231
Hi Sumanta,
All the java class should go in to the Jar file with the corresponding package structure and the war file will contain all the web related files and jar as well.
Use the Jar utility to create your jar and war files. The below link can help you.
Creating a JAR File


Regards,
Sivaraman.L
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

hi ,

you are using any IDE? if not go through this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make our application war and jar file
 
Similar Threads
Maven Build Script Problem
extract specific file from classes folder in ANT.
Deploying in Tomcat other than in webapps folder
customize folder structure
Deploying war file