ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: java.io.IOException 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.

Antoine

markus innerebner wrote:

> Hello @ all
>
> When executing the java ant target or my written ant task with a long
> classpath I receive a java.io.IOException. 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message