ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Gaffey" <Joe.Gaf...@gradient.ie>
Subject RE: chmod problems using ANT
Date Fri, 03 Aug 2001 08:27:33 GMT

Hi,

I got around my problem using the exec task (as suggested - thanks), to run
a 'chmod -R'. Not the nicest way to do it but it works.

Thanks again,
Joe.


-----Original Message-----
From: Duane Morse [mailto:duanemorse@home.com]
Sent: Friday, August 03, 2001 12:48 AM
To: joe
Subject: Re: chmod problems using ANT


Can you use the Unix "xargs" program to execute chmod one file at a time?

----- Original Message -----
From: "joe" <joe.gaffey@gradient.ie>
Newsgroups: comp.lang.java.beans
Sent: Tuesday, July 31, 2001 2:44 AM
Subject: chmod problems using ANT


> Hi all,
> I'm sure this is a common thing but I haven't had much joy with my
> searches:(
>
> I am using alexandria (a build tool based on ant) from the jakarta
> project and I think it's great. However as it's last step it does a
> massive chmod on all it's output and this fails.  After much effort, I
> see that if I put the chmod on the command line it says 'Arg list too
> long'.  Setting the parameter 'parallel="false"' would seem to be the
> solution but I then get : ' Execute failed: java.io.IOException: Too
> many files open '
>
> I am running this on an SGI Irix box.  This would seem to be a serious
> restriction and the solution is not very obvious to me. Does anyone
> have any suggestions/comments?
>
> Thanks very much,
> Joe.



Mime
View raw message