ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: Packages + Ant
Date Tue, 25 Jan 2005 17:17:11 GMT
> -----Original Message-----
> From: Longie [mailto:longie@esatclear.ie]
>     <target name="jar" description="JARs the Task" depends="compile">
>         <jar destfile="${ant.project.name}.jar"
basedir="${classes.dir}">
>         <fileset dir="." includes="ant-files/*.jar"/>

Putting JAR files inside another JAR is not what you want to do usually.
You either reference them in the classpath of <java>, or include their
content (classes, resources) inside your JAR. See <zipfileset> for doing
that. --DD

>         <fileset dir="." includes="${images.dir}/**"/>
>         </jar>
>     </target>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message