File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Jar creation of Java files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jar creation of Java files" Watch "Jar creation of Java files" New topic

Jar creation of Java files

Siddhesh Khedekar
Ranch Hand

Joined: Nov 09, 2009
Posts: 36
Hi Experts,

I have some Folders on server . In one of the folders I will be having some Java files.
What I want is that some program should compile those Java files make their Jar and then all the folders should be put into one War file.

Is there any script for it ,any suggestions?
Henry Wong

Joined: Sep 28, 2004
Posts: 18546

Siddhesh Khedekar wrote:
Is there any script for it ,any suggestions?

Can't you write one? It's pretty straightforward. All the tools are part of the JDK.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
subject: Jar creation of Java files
Similar Threads
how can compile whole package in one time
Refering a jar file from another jar
how to copy resources with maven?
Difference b/w .jar, .ear, .war ?
Eclipse IDE