From: "Bill Burton" <[EMAIL PROTECTED]> > Hello Jose, > > Thanks for working on this often requested functionality. > > Shouldn't output="file" be required when detach="true"? > > In the case of the <java> task, how will the behavior differ if > fork="true" or not? I would think if fork="true" then the standard > streams should be redirected to whatever output file was specified. >
Actually, is the other way around, for the time being you should not use any of the output attributes. Due to the way IO is manage by the current code. Notice also that all the outut redirection is done by Java so once the the ANT's VM ends IO has no where to go. What do the external process do when that happens it is upto the OS. The current implementation for <java> is shuch that detach=true ==> fork=true. But still you cannot use "output" in detach mode because the file will be closed before the process is allowed to finish. Jose Alberto -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
