ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Probert <probe...@gmail.com>
Subject Copying files
Date Thu, 20 Jul 2006 22:07:08 GMT

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message