ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: How to make a jar file and exclude .java files?
Date Tue, 05 Nov 2002 22:12:44 GMT

Well, you can either exclude *.java from the <jar> task or you can keep 
your source in one directory structure and compile and output your classes 
to another separate directory structure and then jar that.

Sounds like you might need a basic build with which to start.  I suggest 
the appdev guide in Tomcat.

A sample build structure is found here:

That should get you started.


At 12:42 PM 11/5/2002 -0800, you wrote:
>I want to make a jar file that contains all of my classes but none of my java
>I run ant from WEB-INF/classes/.
>Is there a stepwise tutorial on how to do this with ant?
>something like
>-overview: blah,
>-step 1. in your application's root directory, make a file named build.xml.
>-step 2. ...
>Are we through with all that politics crap yet?
>JSP | Servlets | DHTML
>Garrett Needs A Job
>Do you Yahoo!?
>HotJobs - Search new jobs daily now
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message