ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Zipfileset/Filemode and 1.53
Date Mon, 14 Apr 2003 16:05:46 GMT
Dear Jeremy,
can you expand and explain why/how your second build is failing ?
is an exception thrown by ant ? or is the zip file produced not usable ?
how do you know that you have a problem ?
Antoine
----- Original Message ----- 
From: "jeremy weber" <jeremyweber@yahoo.com>
To: <user@ant.apache.org>
Sent: Monday, April 14, 2003 5:50 PM
Subject: Zipfileset/Filemode and 1.53


> I am experiencing difficulties setting permissions on
> a directory to be included in a zip file.  I just
> installed 1.53 and I am having the same problems I saw
> in 1.52.  Basically one target does this correctly,
> the other incorrectly.  I am building on win2k and
> testing on Solaris.  Could that be an issue?
> 
> I have several targets that create zips.  This one
> works.
>    <zip destfile="${dist}/${pkg.name}.zip">
>    <zipfileset dir="${resin.bin}" prefix="bin"
> filemode="744"
>     includes="wrapper.pl,
>      httpd.sh"/>
>    <zipfileset dir="${install.conf}" prefix="conf"/>
>    <zipfileset dir="${resin.lib}" prefix="lib"/>
>    <zipfileset dir="${libexec}" prefix="libexec"/>
>    <zipfileset dir="${install.libexec}"
> prefix="libexec"
>     includes="**/libGetGid.so"/>
>    <zipfileset dir="${install.webapp}/pages"
> prefix="webapps/vsinstall/pages"
>     includes="**/*.jsp,
>      **/*.css"/>
>    <zipfileset dir="${install.webapp}/images"
> prefix="webapps/vsinstall/images"
>     includes="**/*.jpg,
>      **/*.gif"/>
>    <zipfileset dir="${install.webinf}"
> prefix="webapps/vsinstall/WEB-INF"
>     includes="*.tld,
>      *.xml"/>
>    <zipfileset dir="${install.lib}"
> prefix="webapps/vsinstall/WEB-INF/lib"/>
>    <zipfileset file="${dist}/${vsynch.pkg}"/>
>    <zipfileset file="${dist}/${vsapp.pkg}"/>
>    <zipfileset file="${dist}/${vsdb.pkg}"/>
>   </zip>
> 
> This one fails.
>   <zip destfile="${dist}/${vsapp.pkg}" >
>    <zipfileset dir="${sourcedir}/resin/bin"
> prefix="bin" filemode="744"
>     includes="**/*.sh,
>      **/*.pl"/>
>    <zipfileset dir="${resin.conf}" prefix="conf"/>
>    <zipfileset dir="${resin.lib}" prefix="lib"/>
>    <zipfileset dir="${resin.pid}" prefix="pid"/>
>    <zipfileset dir="${libexec}" prefix="libexec"/>
>    <zipfileset dir="${jsp}"
> prefix="${vs.webapp}/jsp"/>
>    <zipfileset dir="${includes}"
> prefix="${vs.webapp}/includes"/>
>    <zipfileset dir="${logs}" prefix="logs"
>     includes="UserTool.log,
>      archive.flag,
>      vendorsite.log,
>      stdout.log,
>      stderr.log,
>      access.log,
>      error.log"/>
>    <zipfileset dir="${web-inf}" prefix="${vs.webinf}"
> />
>    <zipfileset dir="${lib}"
> prefix="${vs.webinf}/lib"/>
>   </zip>
> 
> Anyone have any suggestions?
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
View raw message