Execution Environments
Identifier:
org.eclipse.jdt.launching.executionEnvironments
Since:
3.2
Description:
Allows execution environments and execution environment analyzers to be contributed. An execution environment represents a kind of JRE - for example J2SE5. Analyzers are contributed to categorize JREs according to environments.
Configuration Markup:
<!ELEMENT extension (environment* , analyzer*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT environment EMPTY>
<!ATTLIST environment
id CDATA #REQUIRED
description CDATA #IMPLIED>
- id - a unique identifier for this execution environment that is presented to the user - for example, "J2SE-1.4".
- description - a brief human-readable description of this execution environment
<!ELEMENT analyzer EMPTY>
<!ATTLIST analyzer
id CDATA #REQUIRED
class CDATA #REQUIRED>
- id - a unique identifier for this execution environment analyzer
- class - a fully qualified name of a Java class that implements
org.eclipse.jdt.launching.environments.IExecutionEnvironmentAnalyzer
Examples:
Following is an example definition of an execution environment and analyzer.
<extension point=
"org.eclipse.jdt.launching.executionEnvironments"
>
<environment
id=
"J2SE-1.4"
description=
"Java 2 Platform, Standard Edition 1.4"
/>
<analyzer
class=
"com.example.ExecutionEnvironmentAnalyzer"
id=
"com.example.eeAnalyzer"
/>
</extension>
Supplied Implementation:
PDE (org.eclispe.pde.core
) provides definitions and an analyzer for the following execution environments:
- OSGi/Minimum-1.0
- OSGi/Minimum-1.1
- JRE-1.1
- J2SE-1.2
- J2SE-1.3
- J2SE-1.4
- J2SE-1.5
- JavaSE-1.6
- CDC-1.0/Foundation-1.0
- CDC-1.1/Foundation-1.1