ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: exec task question
Date Thu, 07 Jun 2001 06:13:20 GMT
Mark A. Russell <mark_russell@csgsystems.com> wrote:

> I know that some OS's have length limits on the command line so will
> execute work if I give it a command line thats longer than this
> limit?

Probably not.

If you are using JDK 1.3 or your current working directory is the same
you want to run the exec in, Ant will not use the antRun wrapper
script.  Instead, it will use Runtime.exec directly, which may or may
not live with the same limitations as shell invocations - I guess they
will fail at a certain length or number od arguments as well, but the
limits may be different.

Stefan

Mime
View raw message