ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Zipping a non existing folder
Date Mon, 05 Apr 2004 11:38:09 GMT
Do a 
  <mkdir dir="d:/tmp/platform/bar"/>
before the <zip>.

Jan

> -----Original Message-----
> From: Pascal Rapicault [mailto:Pascal_Rapicault@ca.ibm.com]
> Sent: Thursday, March 25, 2004 1:40 AM
> To: user@ant.apache.org
> Subject: Zipping a non existing folder
> 
> 
> Hello, 
> 
> I have the following zip task:
> <zip destfile="d:/tmp/eclipse.zip" whenempty="skip" update="true">
>         <zipfileset dir="d:/tmp/platform/bar" prefix=
> "plugins/org.eclipse.core.variables_3.0.0"/>
>         <zipfileset file=
> "d:/tmp/platform/tmp/eclipse/plugins/org.eclipse.core.runtime_
> 3.0.0.jar" 
> fullpath="eclipse/plugins/org.eclipse.core.runtime_3.0.0.jar"/>
> </zip>
> 
> but when d:/tmp/platform/bar does not exists I get an error 
> and the zip 
> task fails saying that d:/tmp/platform/bar does not exists.
> Is there a way around that?
> 
> Thank you, 
> 
> PaScaL
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message