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* , 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

profileProperties CDATA #IMPLIED

compliance        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.



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:
JDT (org.eclipse.jdt.launching) currently provides definitions and an analyzer for the following execution environments: Since 3.5, a default access rule participant provides access rules for system packages associated with an execution environment. System packages are specified by an OSGi profile properties file (see profileProperties above) via the org.osgi.framework.system.packages property.


Copyright (c) 2005, 2015 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0