ant-user mailing list archives

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

I actually got it from the manual.

	  <jar jarfile="/development/tomcat/webapps/dhtmlkitchen_dev.jar" 
	  		basedir="/development/tomcat/webapps/dhtmlkitchen_dev/"
	  		excludes="*.java,*/sqltest/*,*/sqltest2/*" 
	  		 />

Thanks,


Garrett
--- Jacob Kjome <hoju@visi.com> wrote:
> 
> 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>
> 


=====
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>


Mime
View raw message