I am having some difficulty in getting everything I want to go into a
distribution .jar file. Below is the target that creates the jar file:
<target name="dist" depends="compileMain">
<!-- Create the distribution directory -->
<mkdir dir="${dist}/lib"/>
<!-- Put everything in ${build} into the MyDirector-${DSTAMP}.jar file -->
<!-- <jar jarfile="${src}/bin/MyDirector-${DSTAMP}.jar"
asedir="${build}"/> -->
<jar jarfile="${src}/bin/MyDirector-${DSTAMP}.jar" >
<fileset dir="${build}" >
<patternset id="director.files.dist" >
<include name="**/*.class" />
<include name="${src}/lib/*.jar" />
<include name="${src}/images/*" />
<include name="${src}/resources/*" />
</patternset>
</fileset>
</jar>
</target>
I find that everything from the "build" directory gets put the jar file but none
of the images, etc. from the "src" directory are included. Can anyone tell me
what I am doing wrong.
Regards,
Robin
voice:719.535.6928
email: [EMAIL PROTECTED]
Access Server Development Team < http://accessserverdev.wcomnet.com >
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/MCIWorldcom Site Controller Development _/ < http://scdev.mcit.com>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/