ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <>
Subject AW: Running a remote process in background
Date Wed, 19 Nov 2008 06:56:56 GMT

So what is happening instead? Is ANT waiting for the server to stop?

Is the server starting?

Did you try it with a more somple command to start on the remote machine? (sth. Like "cat"....)

I used these days the exec-command on a Windows machine and it works fine now.
I use it to start a DB-Server in the background. Afterwards I send this server a stop-request.
There I use the "spawn" argument to start the program in a different process.

I also use <forget> and this is working fine.

1.Is sshexec behaving as exec? (kicking off a background process or is it waiting on the remote
command to end?)
2.Could you send us (parts of) the task, that does not end?


J├╝rgen Knuplesch                    
-----Urspr├╝ngliche Nachricht-----
Von: Susheel Raina [] 
Gesendet: Dienstag, 18. November 2008 23:57
Betreff: Running a remote process in background


We are having Weblogic Server on a linux box and the deployment set up is done from Windows
Box remotely.

I have to start/stop the server using ant and for that I am using sshexec command.

Now the problem with it is that I need to exit the task once the server is started but in
my case it doesn't happen.

The build process is automated and since the ant command doesnt exit the build goes on and
doesn't stop.

I tried to use ant-contrib task forget but that is not helping too as the command never executes.

I dont want to change the Weblogic start shell script.

Any Suggestions please.


Susheel Raina

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

View raw message