ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Francis" <scott.fran...@newisys.com>
Subject RE: Zipfileset/Filemode and 1.53
Date Mon, 14 Apr 2003 16:14:20 GMT
Just a quick 2 cents...

I didn't think win2k had the notion of a execute bit.  I have found that since windows security
is so skewed as compared to that of Unix security, you will not really be able to do chmodding
of files/directories in a very reliable fashion.


-----Original Message-----
From: jeremy weber [mailto:jeremyweber@yahoo.com]
Sent: Monday, April 14, 2003 11:10 AM
To: Ant Users List
Subject: Re: Zipfileset/Filemode and 1.53


Sure. Thanks for the quick response.  No errors or
exceptions are thrown.  When unzipped the resulting
files do not retain the file permissions set by the
filemode attribute. In this case, specifically the
execute bit turned on (744).

-rw-r--r--   1 jweber   other        913 Apr 11 19:39
fastcgirunner.pl

While I need...

-rwxr--r--   1 jweber   other        913 Apr 11 19:39
fastcgirunner.pl

Thanks

--- Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
wrote:
> 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
> > 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________________________
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