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
|