Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 41023 invoked by uid 500); 3 Aug 2001 08:31:51 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 41014 invoked from network); 3 Aug 2001 08:31:50 -0000 From: "Joe Gaffey" To: "Duane Morse" Cc: "Ant-User" Subject: RE: chmod problems using ANT Date: Fri, 3 Aug 2001 09:27:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <003101c11bad$9a348570$8afc0118@CX569807A> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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" 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.