Targets

Identifier:
org.eclipse.pde.core.targets

Since:
3.2

Description:
An extension point to define and register target definitions. PDE gives the user the ability to choose and switch between targets. The main content of a target resides in a .target file. Among other things, this file contains a list of plug-ins and/or features, the target environment, execution environment and launching arguments.

Configuration Markup:

<!ELEMENT extension (target+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT target (description?)>

<!ATTLIST target

id         CDATA #REQUIRED

name       CDATA #REQUIRED

definition CDATA #REQUIRED>


<!ELEMENT description (#PCDATA)>

a human-readable description of this target



Examples:
The following is an example of the targets extension:

  <extension point = "org.eclipse.pde.core.targets">
     <target 
       id="org.eclipse.pde.core.rcpTarget"
       name="Eclipse RCP"
       path="targets/rcp.target"/>
  </extension>
In the example above, the name and id of the target are declared in the plugin.xml, but its content is store in a targets/rcp.target located in the contributing plug-in.
The .target file must be created via File > New > Other... > Plug-in Development > Target Definition and must comply with the grammar of that file.

Supplied Implementation:
The org.eclipse.pde.core plug-in provides two extensions.


Copyright (c) 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.