Hi, everybody:
I'm wonder If i can achieve the following scenario using ANT or
something:
I 'm develop a Java app in my development machine, then i need to
upload the compiled app to several remote machines and run the them
remotely.
All OS is windows here.
Is there an easy approach to do that? I'm not afraid to write some ANT
script or even ANT classes, if all the above can be automated(upload
and run). I know ANT can deal with the upload things, but I'm not sure
how to run the program on the remote machine.
best Regards
Warren
Arne Vajhøj - 19 Apr 2007 02:50 GMT
> I'm wonder If i can achieve the following scenario using ANT or
> something:
[quoted text clipped - 7 lines]
> and run). I know ANT can deal with the upload things, but I'm not sure
> how to run the program on the remote machine.
I think you will need to have something running on the server.
I do not think you can do a COM+/DCE RPC call from Java.
Windows does usually not have rsh/rexec.
Write a little server program that is permanently
running and connect to that and have it do whatever
is needed.
Arne