ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Rapicault <Pascal_Rapica...@ca.ibm.com>
Subject Zipping a non existing folder
Date Thu, 25 Mar 2004 00:39:59 GMT
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