You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jack Dawson <ja...@postmaster.co.uk> on 2003/03/11 16:03:43 UTC

Filemode in zipfileset

Does the filemode parameter work in the zipfileset (ant 1.5.2)? No matter what filemode I set, when I unzip the zip file, the file permissions are always -rwxr-xr-x

Here's the part of my ant-script:

<target name="makezip">
<zip destfile="${dist.dir}/${myzip.zip}">
<zipfileset 
dir="${source.dir}" 
filemode="644" 
includes="*.c" 
/>
</zip>
</target>

I'd appreciate it very much if someone could help me here. Thanks.
-- 
What is a perfect score in ten-pin bowling? 
Find out at postmaster.co.uk

http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=234

Re: Filemode in zipfileset

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 11 Mar 2003, Jack Dawson <ja...@postmaster.co.uk> wrote:

> Does the filemode parameter work in the zipfileset (ant 1.5.2)?

No.

In 1.5.2 filemode gets ignored (and you always see dirmode used for
the files as well).  This is going to be fixed by 1.5.3 due to be
released shortly.

Stefan

Re: Filemode in zipfileset

Posted by Antoine Levy-Lambert <le...@tiscali-dsl.de>.
There is a bug in 1.5.2 which is affecting exactly this point. Try your luck
with a nightly build.
Antoine
----- Original Message -----
From: "Jack Dawson" <ja...@postmaster.co.uk>
To: <us...@ant.apache.org>
Sent: Tuesday, March 11, 2003 4:03 PM
Subject: Filemode in zipfileset


> Does the filemode parameter work in the zipfileset (ant 1.5.2)? No matter
what filemode I set, when I unzip the zip file, the file permissions are
always -rwxr-xr-x
>
> Here's the part of my ant-script:
>
> <target name="makezip">
> <zip destfile="${dist.dir}/${myzip.zip}">
> <zipfileset
> dir="${source.dir}"
> filemode="644"
> includes="*.c"
> />
> </zip>
> </target>
>
> I'd appreciate it very much if someone could help me here. Thanks.
> --
> What is a perfect score in ten-pin bowling?
> Find out at postmaster.co.uk
>
> http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=234
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>