To launch programs within the Eclipse IDE, a configuration file known as a Run Configuration must be created, which instructs Eclipse to perform a particular action or series of actions, eventually starting the program.
Eclipse Run Configurations (.launch
files) are XML files. Each file declares one element named launchConfiguration
, which holds the data of the run config.
The launchConfiguration
must declare a type
attribute, where the type
is any launchConfigurationType
declared by Eclipse or an extension (such as Buildship).
That element then contains sub-elements in the Eclipse E-Attribute format (not to be confused with XML Attributes).
E-Attributes are described here.
Each launchConfiguration
has its own unique schema, defining which E-Attributes make up the configuration.
Currently, we know of the following types:
org.eclipse.buildship.core.launch.runconfiguration
org.eclipse.buildship.core.launch.test.runconfiguration
org.eclipse.debug.core.groups.GroupLaunchConfigurationType
- See Launch Groups
org.eclipse.jdt.launching.localJavaApplication
org.eclipse.jdt.launching.remoteJavaApplication
org.eclipse.jdt.launching.javaApplet
org.eclipse.jdt.junit.launchconfig