ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Leo <m...@cariboulake.com>
Subject zip file dir prefix problem
Date Thu, 09 Aug 2001 15:14:49 GMT
Gang,

I know this seems silly, but I need to create a zip file that
unzips into "./", not "".  I am using a directive like this:

   <zip zipfile="proj.zip" basedir="/project/yyz/staging"/>

In other words, I need the unzip to look like this:

   bero% unzip -l proj.zip
   Archive:  proj.zip
    Length    Date    Time    Name
    ------    ----    ----    ----
     12548  03-23-01  17:59   ./docs/arch.html
      9015  03-23-01  23:17   ./docs/authentication.html
     14126  03-23-01  23:10   ./docs/client.html
    ------                    -------
     35689                    3 files
   bero%

instead of this:

   bero% unzip -l proj.zip
   Archive:  proj.zip
    Length    Date    Time    Name
    ------    ----    ----    ----
     12548  03-23-01  17:59   docs/arch.html
      9015  03-23-01  23:17   docs/authentication.html
     14126  03-23-01  23:10   docs/client.html
    ------                    -------
     35689                    3 files
   bero%

Any ideas?

Thanks!

Michael Leo            mleo@cariboulake.com        Java, Oracle
Caribou Lake Software  http://www.cariboulake.com  Ingres, JDBC

JSockets/JMobility: Tunnelling sockets over HTTP - REALLY!


Mime
View raw message