This is nuts, ant is not executing this jar file. I've got both jars being
created in a target and it only builds one jar, and not the other no matter
what order their placed in. I've been using ant for over a year now, but it
will not build this one simple jar. The files are there, the dirs are there
... !
Any known issues I'm not aware of here?
<target name="dist" depends="compile">
<copy file="./conf/web.xml" tofile="${web-inf}/web.xml" />
<!-- IT WILL NOT BUILD THIS JAR-->
<jar jarfile="web/jars/images.jar"
basedir="web"
includes="images/**"
/>
<jar jarfile="web/jars/builder.jar"
basedir="${web-inf}/classes"
includes="${nq}/applets/builder/**"
/>
</target>
> This is what I use for creating a webcontent jar. (Changed for your
> content)
>
> <property name="images" value="web/images" />
>
> <jar jarfile="web/jar/images.jar"
> basedir="${images}"
> includes="**"
> />
>
> OR
>
> If you want the images dir in the jar (images/*.gif) change to:
>
> <property name="images" value="web" />
> <jar jarfile="web/jar/images.jar"
> basedir="${images}"
> includes="images/**"
> />
>
>
> HTH
> steve
>