blob: c2495de97322b47f527ce87ec9e042c5d28b95b0 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.pde.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.pde.core" id="targets" name="Targets"/>
</appInfo>
<documentation>
An extension point to define and register target definitions. PDE gives the user the ability to choose and switch between targets. PDE also provides the ability to edit and extend the target. The main content of a target resides in a .target file. Among other things, the target definition file contains a description of plug-in/feature contents, the target environment, execution environment and launching arguments.&lt;br&gt;
&lt;br&gt;
Target definition files should be edited using the target definition editor provided by PDE. The file format is not API and subject to change between releases.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="target" minOccurs="1" 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="target">
<complexType>
<sequence>
<element ref="description" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
a unique identifier for the target
</documentation>
<appInfo>
<meta.attribute kind="identifier"/>
</appInfo>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
a human readable name of the target
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
<attribute name="definition" type="string" use="required">
<annotation>
<documentation>
the relative path of the target definition file in the contributing plug-in.
</documentation>
<appInfo>
<meta.attribute kind="resource"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="description" type="string">
<annotation>
<appInfo>
<meta.element translatable="true"/>
</appInfo>
<documentation>
a human-readable description of this target
</documentation>
</annotation>
</element>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
No Java code is required for this extension point.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
3.2
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of the &lt;code&gt;targets&lt;/code&gt; extension:
&lt;pre&gt;
&lt;extension point = &quot;org.eclipse.pde.core.targets&quot;&gt;
&lt;target
id=&quot;org.eclipse.pde.core.rcpTarget&quot;
name=&quot;Eclipse RCP&quot;
definition=&quot;targets/rcp.target&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
In the example above, the name and id of the target are declared in the plugin.xml, but its content is stored in a &lt;code&gt;targets/rcp.target&lt;/code&gt; located in the contributing plug-in.
&lt;br&gt;
The .target file must be created via &lt;b&gt;File &gt; New &gt; Other... &gt; Plug-in Development &gt; Target Definition&lt;/b&gt; and should be edited using the PDE target definition editor. The file format is not API and subject to change between releases.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
The &lt;code&gt;org.eclipse.pde.core&lt;/code&gt; plug-in provides two extensions.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2006 IBM Corporation and others.
&lt;br&gt;
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
&lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
SPDX-License-Identifier: EPL-2.0.
</documentation>
</annotation>
</schema>