Use the <copy> task, or point to the manifest.txt in it's original location in your jar task.
-Rob A > -----Original Message----- > From: Mark Probert [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 20, 2006 3:07 PM > To: user@ant.apache.org > Subject: Copying files > > > Hi .. > > I have a build that uses an automatically generated manifest > file. When I start the build, I cannot be certain that my > dest directory (classes/) is going to exist, so I have a task > to create it. My question is, how do I then copy the > manifest file into that directory? > > My jar task looks like > > > <target name="jar" depends="javacompile"> > <jar destfile = "${dist}/CLIManager-${DSTAMP}.jar" > basedir = "${dest}" > manifest = "${dest}/manifest.txt" > /> > </target> > > Or is there a better way? > > TIA, > > -- > > -mark. (Ant newbie) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]