Reputation: 353
I need to copy some .class files to a remote server and execute the main class file using ANT script. I 'm able to copy the files using the SCP ant target ,but i'm stuck on which task to execute for running the main class on a remote server.The main class also accepts couple of arguments for execution as well.Can anyone provide any pointers on how to achieve the same.
Upvotes: 1
Views: 542