Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the external tools launch configurations in Eclipse [duplicate]

I usually install and uninstall different versions of Eclipse for fun. I don't want to install many plugins. I prefer to start with fresh install to test the IDE.

The problems comes when I have to config all the external tools that I always use (E.g. run jconsole).

Also I want to backup my launch configurations.

Do you know where Eclipse save this launch configurations?

like image 573
user2427 Avatar asked Jan 17 '09 00:01

user2427


People also ask

Where are Eclipse launch configurations stored?

These configrations are located in . metadata/. plugins/org. eclipse.

How do I open an external tool in Eclipse?

Run > External Tools > External Tools.... Select the Program configuration. Click the New button. Enter a name for your external tool (for example, My External Tool). Click the Browse File System button.

What is external tools in Eclipse?

External tools are applications or scripts that typically act as extensions to your development environment. For example, they may be used to execute scripts to package and deploy your application or to run an external compiler on your source files.


1 Answers

As I said in this question "Which eclipse files belong under Version Control", the .launch xml files (launcher definition) are found in

[eclipse-workspace]\.metadata\.plugins\org.eclipse.debug.core\.launches

You can actually move them into your project directory:
when your project is refreshed, those configurations will be displayed in the "Run configuration" dialog. That way, those launch parameter files can be also managed into a VCS within your other project files, instead being buried within the workspace metadata area.

Warning: do uncheck the option "Delete configurations when associated resource is deleted" in the Run/Launching/Launch Configuration preference panel: it is common to soft-delete a project in order to import it back again, to force a reinitialization of the eclipse metadata,... but this option, if checked, will removed your detailed launch parameters!)

like image 149
VonC Avatar answered Sep 20 '22 13:09

VonC