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.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
A sample build structure is found here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/sample/
That should get you started.
Jake
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 files.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. ... Thanks, Garrett Are we through with all that politics crap yet? ===== http://dhtmlkitchen.com/ JSP | Servlets | DHTML Garrett Needs A Job __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>
