Eclipse: export running configuration

Jack picture Jack · Mar 23, 2010 · Viewed 41.6k times · Source

I wrote a complex Java application with eclipse that uses many .jar libraries included into project folder.

Is there a quick way to export a running configuration of the application that allows me to run it from shell (I don't actually need to move it around machines, so no jar export or similar things).

I just need to detach the execution from Eclipse, but since project has many settings I would like to export a script (maybe .sh or just a plain long line) automatically..

Answer

VlatkoB picture VlatkoB · Nov 22, 2011

Exporting:

  1. Go to File > Export... > Run/Debug > Launch Configurations
  2. In the dialog select all or what you want
  3. Set the filename

Importing:

  1. Go to File > Import... > Run/Debug > Launch Configurations
  2. In the dialog select all or what you want
  3. Set the filename