Sorry, nope! That did not make a difference. The documentation says that two
stars ("**") would recurse through sub-directories. There are no
sub-directories where the images, etc. reside.
Robin
> -----Original Message-----
> From: Goli, Srikanth [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 5:26 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Creating Jar file help
>
>
> I think u should say
> two stars instead one star
>
> <include name="${src}/images/**" />
> <include name="${src}/resources/**" />
>
>
> -Srikanth Goli
>
> > -----Original Message-----
> > From: Robin Ziolkowski [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, March 30, 2001 4:13 PM
> > To: Ant-User@Jakarta. Apache. Org
> > Subject: Creating Jar file help
> >
> > 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>
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> >
> >
> >
>