ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject Re: calling java task
Date Sun, 22 Jan 2006 13:09:11 GMT
Hello Markus,

when you fork a java command, you are then subject to limits set by your
operating system to length of commands.

on Windows, it is 4096 bytes.


markus innerebner wrote:

> Hello @ all
> When executing the java ant target or my written ant task with a long
> classpath I receive a This exception only appears
> when I am invoking such task in fork mode true. Without forking I
> don't have this problem.
> I tried also to set a relative path, but ant set then always it
> absolut. Are the some solutions?
> I also heard about to create a manifest file, which contains the
> classpath. But this is not so easily appliable for my written ant
> task, because this task checks if the arguments are set and depending
> on that, there will be passed the arguments to the main method of
> another class.
> Any hints or solutions?
> best regards
> Markus

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message