ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Ziolkowski <c-robin.ziolkow...@wcom.com>
Subject RE: Creating Jar file help
Date Sat, 31 Mar 2001 00:36:34 GMT
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:sg210022@exchange.DAYTONOH.NCR.com]
> Sent: Friday, March 30, 2001 5:26 PM
> To: ant-user@jakarta.apache.org
> 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:c-robin.ziolkowski@wcom.com]
> > 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: robin.ziolkowski@wcom.com
> > Access Server Development Team  < http://accessserverdev.wcomnet.com >
> >   _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> >   _/MCIWorldcom Site Controller Development _/ < http://scdev.mcit.com>
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> >
> >
> >
>


Mime
View raw message