Execution Environments

org.eclipse.jdt.launching.executionEnvironments

3.2

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.

<!ELEMENT extension (environment* , analyzer* , ruleParticipant*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT environment EMPTY>

<!ATTLIST environment

id              CDATA #REQUIRED

description     CDATA #IMPLIED

ruleParticipant CDATA #IMPLIED>


<!ELEMENT analyzer EMPTY>

<!ATTLIST analyzer

id    CDATA #REQUIRED

class CDATA #REQUIRED>


<!ELEMENT ruleParticipant EMPTY>

<!ATTLIST ruleParticipant

id    CDATA #REQUIRED

class CDATA #REQUIRED>

This element was added in the 3.3 release.



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>

JDT (org.eclispe.jdt.launching) provides definitions and an analyzer for the following execution environments: