| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.jdt.launching" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.jdt.launching" id="executionEnvironments" name="Execution Environments"/> |
| </appinfo> |
| <documentation> |
| 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. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="environment" minOccurs="0" maxOccurs="unbounded"/> |
| <element ref="analyzer" minOccurs="0" maxOccurs="unbounded"/> |
| <element ref="ruleParticipant" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="environment"> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique identifier for this execution environment that is presented to the user - for example, "J2SE-1.4". |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| a brief human-readable description of this execution environment |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="ruleParticipant" type="string"> |
| <annotation> |
| <documentation> |
| the fully qualified name of a Java class that implements <code>org.eclipse.jdt.launching.environments.IAccessRuleParticipant</code>. When specified, this class is used to create access rules for VM libraries associated with this execution environment during classpath resolution. This participant creates rules last, preceeded by any <code>ruleParticipants</code> contributed as elements. This attribute was added in the 3.3 release. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jdt.launching.environments.IAccessRuleParticipant"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="profileProperties" type="string"> |
| <annotation> |
| <documentation> |
| Plug-in relative path to a properties file containing standard OSGi profile properties. Properties provide tooling with extra infomration about an environment - for example, system packages and default source and target level settings to use when compiling with this environment. This attribute was added in the 3.5 release. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="resource"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="analyzer"> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique identifier for this execution environment analyzer |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified name of a Java class that implements <code>org.eclipse.jdt.launching.environments.IExecutionEnvironmentAnalyzer</code> |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jdt.launching.environments.IExecutionEnvironmentAnalyzerDelegate"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="ruleParticipant"> |
| <annotation> |
| <documentation> |
| This element was added in the 3.3 release. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique identifier for this rule participant |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the fully qualified name of a Java class that implements <code>org.eclipse.jdt.launching.environments.IAccessRuleParticipant</code>. When specified, this class is used to create access rules for VM libraries associated with this execution environment during classpath resolution. This participant creates rules before a <code>ruleParticipant</code> contributed by an execution environment directly, allowing a participant to override an environment's default rules. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jdt.launching.environments.IAccessRuleParticipant"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 3.2 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| Following is an example definition of an execution environment and analyzer. |
| <p> |
| <pre> |
| <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> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="implementation"/> |
| </appinfo> |
| <documentation> |
| JDT (<code>org.eclispe.jdt.launching</code>) provides definitions and an analyzer for the following execution environments. Since 3.5, a default access rule participant provides access rules for system packages assocaited with an execution environment. System packages are specified by an OSGi profile properties file (see <code>profileProperties</code> above) via the <code>org.osgi.framework.system.packages</code> property. |
| <ul> |
| <li>OSGi/Minimum-1.0</li> |
| <li>OSGi/Minimum-1.1</li> |
| <li>JRE-1.1</li> |
| <li>J2SE-1.2</li> |
| <li>J2SE-1.3</li> |
| <li>J2SE-1.4</li> |
| <li>J2SE-1.5</li> |
| <li>JavaSE-1.6</li> |
| <li>CDC-1.0/Foundation-1.0</li> |
| <li>CDC-1.1/Foundation-1.1</li> |
| </ul> |
| </documentation> |
| </annotation> |
| |
| |
| </schema> |