Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launching run configuration outside Eclipse IDE

I have a run configuration defined for my Eclipse RCP application which is saved to a .launch file. Is there a way to use this launch configuration outside the Eclipse IDE? i.e, it would be nice to be able to launch the application from the command line for continuous integration purposes.

like image 863
lucks Avatar asked Mar 14 '11 21:03

lucks


1 Answers

You can get the command line Eclipse uses:

  1. Run your program in Eclipse
  2. Go to the "Debug" view
  3. Right-click on the process (probably the second item in the tree) and select "Properties"
  4. Copy shell command and delete the agentlib flag to run in bash. Unfortunately, you need to do this whenever you change the configuration.
like image 171
Peter Tseng Avatar answered Oct 02 '22 20:10

Peter Tseng