ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Java Task
Date Mon, 28 Jul 2003 15:13:03 GMT
This is a much discussed topic.
Ant does not have yet something to start an application server.
A trick is to use the <parallel/> task.
----- Original Message -----
From: "Peter Craddock" <>
To: <>
Sent: Monday, July 28, 2003 2:42 PM
Subject: Java Task

> Hi
> I have been trying to start an instance of the orion application server
> using a java program that starts a sub process which executes the command
> java -jar orion.jar and I seem to be getting a few strange errors.
> If I fork the process the next ant task does not start
> If I dont fork the process the tests that start to run but then ant
> during the tests.
> When I fork the tests I see the folowing behaviour in task manager
> java process starts for ant - ant
> java process starts for my program that reads input and error streams from
> sub process until process has completed starting up. (initialised read
> input stream of sub process) - my program
> java process starts as expected - orion
> my program java process now exits as expected
> ant does not start next task
> I have tried this using exec and I get the same error.
> Can anyone help
> Pete.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message