You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Jan, Andersson" <Ja...@agriculture.gov.ie> on 2002/12/05 19:05:47 UTC

Add file with full path to ZIP

Hello,
How would you go about adding a file with its full path to a zip?
Say "C:\Files\MoreFiles\Thefile.txt"

Something like this doesn't work:

<zip destfile="${ZIPFILE}" duplicate="fail" update="true" filesonly="true"
	basedir="/" 
	includes="C:\Files\MoreFiles\Thefile.txt" />

Got a feeling it's trying to do something like /c:\ (like double root, in unix //)
Would like to not use the basedir attribute since isn't needed.
Same problem with filesets (and the dir attribute).

Any ideas?

Thanks!


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>