Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTerminating and ILaunch from a Plug-in - non-standard method required
https://www.eclipse.org/forums/index.php/mv/msg/202742/647845/#msg_647845
Just a warning, I am aware this is not completely java-specific, however what I am trying to do involves a java-related tool, and if there if a better place to ask this question, please direct me there.
I am running an ant application from within eclipse, and I have access to the ILaunch it generates. Problem is, it uses a port, and must be terminated before it can be run again. Clicking the red terminate button in the console works, however calling ILaunch.terminate does not, once it gets to the point where it is using the port. SO my question is what is the difference in operation of calling ILaunch.terminate and clicking the red terminate button. I wish to implement whatever process to button uses so I can reliably terminate the running process before launching a new one.
Thanks for any help.]]>Ryan O'Meara2011-01-09T23:56:23-00:00