Hi Ant gurus,

I'm using the Ant Java task to start J2EE containers. However, in order to
know if they are started I'd like to read the stdout produced by these
containers. Now there are 2 solutions I know of:

- using java.setOutputProperty(). The problem is that the property is only
set when the execute() command returns which doesn't work for several
containers that do not return (Orion for example).

- using java.setOutput(File). However this goes to a file and I'd rather not
use it for 2 reasons: I'd rather not have to output to a file as I may not
always have a handy location for that file (I'd rather not use tmp dir
either) + I'd like to make the file output optional, decided by the user.

My question: Is there a way I can use to monitor the stdout content
resulting from the execution of execute() without going through a file?

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to