ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34119] - [chmod] Warning: UNIXProcess.forkAndExec native error: The parameter or environment lists are too long.
Date Mon, 11 Apr 2005 10:05:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34119>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34119





------- Additional Comments From bodewig@apache.org  2005-04-11 12:05 -------
Sure there is, you just have to be very patient while typing 8-)

All OSes have limits on the command line length, on some of them the limit is
even different if you use a shell as opposed to forking a new process from another
one.

In theory we could even keep a list of the limits around and adapt them every now
and then, but then again it would be an incomplete (since we wouldn't have
input for each OS), outdated (information may change with a new OS version), hard
to maintain (the system property os.name may be different on different VMs) list.

And this with no real gain since <apply> wouldn't be smart enough to know how
to deal with command lines that are too long.  <chmod> is different, I agree, it
could know that it should simply split the command line and use multiple
invocations.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message