>From what your writing it seems perhaps like a problem with the command.

What is your exact ANT <chmod/> tag?  You also have the option of using the
<exec/> tag I believe.
But I am wondering if you are specifying the whole path name and file name for
each file to chmod?
Perhaps breaking this into multiple tags or a tag for echo file?  That or using
wild cards like

<chmod perm="755" file="*.html" dir="/opt/java/javadocs"/>

-Ben

Joe Gaffey wrote:

> Hi all,
>
> I originally sent this to alexandria-dev so apologies for any
> duplicates.......
>
> I am using alexandria on a medium sized java project and I think it's great.
> However as it's final step it does a chmod on all the output, eg for the
> javadoc html files. I am running on an SGI Irix box (not sure if this is
> relevant). The chmod wouldn't work (Result: -1) and when I tried to run a
> similar chmod on the command line it complained that 'Arg list too long'.  I
> then modified the ant to try the chmod task with parameter
> 'parallel="false"' but this just gives an answer of 'Execute failed:
> java.io.IOException: Too many files open'.
>
> This would seem to be a serious drawback. Is there any tidy (or even untidy)
> way to deal with this?
>
> Has this been seen before, perhaps I'm forgetting something (I'm relatively
> new to this).
>
> Thanks,
> Joe.
>
> Joe Gaffey
> Software Developer
> Gradient - a Sabre Company
>
> Ormonde House                   Tel:    + 353 1 2400 500
> 12 Lower Leeson Street          Fax:    + 353 1 2400 501
> Dublin 2                                Email:  [EMAIL PROTECTED]
> Ireland
>
> Web:    www.gradient.ie
>         www.sabre.com
begin:vcard 
n:Stocum;Ben
tel;home:442-1316
tel;work:383-3510
x-mozilla-html:FALSE
url:http://www.paychex.com
org:Paychex, Inc;Enterprise Development
adr:;;911 Panorama Trail S.;Rochester;NY;14625-2396;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Developer Lv 1
fn:Ben Stocum
end:vcard

Reply via email to