1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
|
<?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 information 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. Minimally, the following properties should be specified. Note that any "org.eclipse.jdt.core.compiler.*" properties provided will be used as the default compiler settings for projects built against this execution environment.
<ul>
<li><code>org.osgi.framework.system.packages</code> - a comma separated list of available (API) system packages</li>
<li><code>org.osgi.framework.bootdelegation</code> - a comma spearated list of packages for which the Framework must delegate class loading to the boot class path</li>
<li><code>org.osgi.framework.executionenvironment</code> - a comma separated list of execution environments provided by this environment (a list of environments that are a subset of this environment, including this environment)</li>
<li><code>osgi.java.profile.name</code> - environment identifier/name</li>
<li><code>org.eclipse.jdt.core.compiler.compliance</code> - compiler compliance level - 1.4, 1.5, etc.</li>
<li><code>org.eclipse.jdt.core.compiler.source</code> - source level - 1.3, 1.4, etc.</li>
<li><code>org.eclipse.jdt.core.compiler.codegen.targetPlatform</code> - target level - 1.2, 1.3, etc.</li>
<li><code>org.eclipse.jdt.core.compiler.problem.assertIdentifier</code> - severity of using 'assert' as an identifier in source: error, warning, or ignore</li>
<li><code>org.eclipse.jdt.core.compiler.problem.enumIdentifier</code> - severity of using 'enum' as an identifier in source: error, warning, or ignore</li>
</ul>
</documentation>
<appInfo>
<meta.attribute kind="resource"/>
</appInfo>
</annotation>
</attribute>
<attribute name="compliance" type="string">
<annotation>
<documentation>
In the absence of profileProperties this will provide the value for org.eclipse.jdt.core.compiler.compliance
</documentation>
</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.eclipse.jdt.launching</code>) currently provides definitions and an analyzer for the following execution environments:
<ul>
<li>OSGi/Minimum-1.0</li>
<li>OSGi/Minimum-1.1</li>
<li>OSGi/Minimum-1.2</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>JavaSE-1.7</li>
<li>JavaSE-1.8</li>
<li>CDC-1.0/Foundation-1.0</li>
<li>CDC-1.1/Foundation-1.1</li>
</ul>
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 <code>profileProperties</code> above) via the <code>org.osgi.framework.system.packages</code> property.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2005, 2015 IBM Corporation and others.<br>
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
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/
SPDX-License-Identifier: EPL-2.0
</documentation>
</annotation>
</schema>
|