Class JavaApplicationLaunchConfig.Keys
- Enclosing class:
- JavaApplicationLaunchConfig
JavaApplicationLaunchConfig.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefines environment variables that will be set when executing the configuration.static final StringDefines the JRE to use when executing the application.static final StringDefines the fully-qualified class name of the main class to launch when starting the application.static final StringDefines the module name for the main type to launch.static final StringDefines all arguments that will be passed to the program as they would appear on the command line.static final StringDefines the Eclipse project name associated with this launch configuration.static final StringIf true, execution will stop in main when entered, awaiting a debugger command to continue execution.static final StringIndicates whether eclipse should launch the configuration with an argument file preventing command line length issues.static final StringDefines all arguments that will be passed to the JVM as they would appear on the command line.static final StringDefines the working directory of the launch configuration.static final StringID of the Eclipse JDT Launching plugin, which is prefixed to all keys of this launch configuration.static final StringType ID forJavaApplicationLaunchConfig. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LAUNCHING_PLUGIN_ID
ID of the Eclipse JDT Launching plugin, which is prefixed to all keys of this launch configuration.- See Also:
-
TYPE
Type ID forJavaApplicationLaunchConfig.- See Also:
-
ATTR_PROJECT_NAME
Defines the Eclipse project name associated with this launch configuration. Must match the name of a project in the current Eclipse workspace.E-Attribute Type: String
Required: True- See Also:
-
ATTR_MAIN_TYPE_NAME
Defines the fully-qualified class name of the main class to launch when starting the application.E-Attribute Type: String
Required: True- See Also:
-
ATTR_MODULE_NAME
Defines the module name for the main type to launch.E-Attribute Type: String
Required: False
Default Value: The value ofATTR_PROJECT_NAME.- See Also:
-
ATTR_STOP_IN_MAIN
If true, execution will stop in main when entered, awaiting a debugger command to continue execution.E-Attribute type: Boolean
Required: False
Default Value: False- See Also:
-
ATTR_PROGRAM_ARGUMENTS
Defines all arguments that will be passed to the program as they would appear on the command line.E-Attribute type: String
Required: False
Default Value: ""- See Also:
-
ATTR_VM_ARGUMENTS
Defines all arguments that will be passed to the JVM as they would appear on the command line.E-Attribute type: String
Required: False
Default Value: ""- See Also:
-
ATTR_WORKING_DIRECTORY
Defines the working directory of the launch configuration. May be an absolute or relative file path, and may use eclipse variables in its definition.When specified as an absolute path, the path represents a path in the local file system. When specified as a full path, the path represents a workspace relative path. When unspecified, the directory of the Eclipse project specified by
ATTR_PROJECT_NAMEis used.E-Attribute type: String
Required: False
Default Value: "${workspace_loc:ProjectName}" where ProjectName is the value specified in byATTR_PROJECT_NAME. This value corresponds to the directory of that project.- See Also:
-
ATTR_JRE_CONTAINER_PATH
Defines the JRE to use when executing the application. The definition must take the following three-part format, each part separated by a forward slash:- The header, which is "org.eclipse.jdt.launching.JRE_CONTAINER"
- The VM type, which is one of "org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType" or "org.eclipse.jdt.launching.EEVMType"
- The VM name, which is a user-specified value for a JVM in Eclipse, such as "jdk-17.0.5.8-hotspot"
E-Attribute type: String
Required: False
Default Value: The default JVM of the Eclipse project specified byATTR_PROJECT_NAME.- See Also:
-
ATTR_ENV_VARS
Defines environment variables that will be set when executing the configuration.E-Attribute type: Map
Required: False
Default Value: Empty Map- See Also:
-
ATTR_USE_ARGFILE
Indicates whether eclipse should launch the configuration with an argument file preventing command line length issues.E-Attribute type: Boolean
Required: False
Default Value: False- See Also:
-
-
Constructor Details
-
Keys
public Keys()
-