ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Copying files
Date Mon, 24 Jul 2006 17:50:24 GMT
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:probertm@gmail.com] 
> 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: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message