ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Add file with full path to ZIP
Date Thu, 05 Dec 2002 18:50:45 GMT

Look at the Ant docs for <zip> and notice the use of <zipfileset>.  That 
should provide what you want.  There are examples in the docs.

Jake

At 06:05 PM 12/5/2002 +0000, you wrote:
>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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message