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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]