ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan, Andersson" <>
Subject Add file with full path to ZIP
Date Thu, 05 Dec 2002 18:05:47 GMT
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"
	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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message