ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan, Andersson" <Jan.Anders...@agriculture.gov.ie>
Subject Add file with full path to ZIP
Date Thu, 05 Dec 2002 18:05:47 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message