Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "PDE/Target Definitions"

< PDE
(New page: == Introduction == The target platform is a critical part of developing using PDE. It defines what your workspace will be built and launched against. In 3.5 the target platform had a co...)
 
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
The target platform is a critical part of developing using PDE.  It defines what your workspace will be built and launched against.  In 3.5 the target platform had a complete facelift and improved models underneath.  In 3.5 PDE also improved the p2 target provisioner which allows you to create a target that can grab bundles from remote update sites and repositories and add them to your target.
+
The '''[[Target Platform]]''' is a critical part of developing using [[PDE]].  It defines what your workspace will be built and launched against.  In 3.5 the target platform had a complete facelift and improved models underneath.  In 3.5 PDE also improved the [[p2]] target provisioner which allows you to create a target that can grab bundles from remote update sites and repositories and add them to your target.
  
 
Developing a target platform can become very complex.  This page will be used to collect known issues so that bug reports, workarounds and proper fixes can be developed.
 
Developing a target platform can become very complex.  This page will be used to collect known issues so that bug reports, workarounds and proper fixes can be developed.
Line 7: Line 7:
 
== The Basics ==
 
== The Basics ==
  
The Target Platform refers to the plug-ins which your workspace will be built and run against. It describes the platform that you are developing for. When developing with PDE, the target platform is used to:
+
The [[Target Platform]] refers to the plug-ins which your workspace will be built and run against. It describes the platform that you are developing for. When developing with PDE, the target platform is used to:
  
Whereas the target platform refers to your currently active bundles, a Target Definition is a way of determining the plug-ins to add to the state. You can have multiple target definitions, but only one definition can be selected as the target platform.
+
Whereas the '''target platform''' refers to your ''currently'' active bundles, a '''Target Definition''' is a way of determining the plug-ins to ''add to the state''. You can have multiple target definitions, but only one definition can be selected as the target platform.
  
The target platform and your target definitions are managed on the Target Platform Preference Page. This page lists all target definitions that PDE has access to and displays which definition is being used as your current target platform. Target definitions can be created and edited here using the Target Definition Content Wizard. To make for easier sharing among a development team, targets can also be created and edited in the workspace as xml files with the extension ".target". These files can be edited using the target definition editor and can be created using the New Target Definition Wizard.
+
The target platform and your target definitions are managed on the '''Target Platform Preference Page'''. This page lists all target definitions that PDE has access to and displays which definition is being used as your current target platform. Target definitions can be created and edited here using the '''Target Definition Content Wizard'''. To make for easier sharing among a development team, targets can also be created and edited in the workspace as XML files with the extension "<tt>.target</tt>". These files can be edited using the target definition editor and can be created using the '''New Target Definition Wizard'''.<ref>http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.pde.doc.user/concepts/target.htm</ref>
  
The Eclipse Help Documentation provides more detailed explanation on how to use the editors, wizards and preference pages in PDE.
+
The [http://www.eclipse.org/documentation/ Eclipse Help Documentation] provides more detailed explanation on how to use the editors, wizards and preference pages in PDE.
  
 
== Examples ==  
 
== Examples ==  
Line 34: Line 34:
  
 
Links to specific project's target definition help, links to how to generate metadata, and other useful links.
 
Links to specific project's target definition help, links to how to generate metadata, and other useful links.
 +
 +
<references />
 +
 +
[[Category:PDE]] [[Category:p2]]

Revision as of 20:46, 11 December 2010

Introduction

The Target Platform is a critical part of developing using PDE. It defines what your workspace will be built and launched against. In 3.5 the target platform had a complete facelift and improved models underneath. In 3.5 PDE also improved the p2 target provisioner which allows you to create a target that can grab bundles from remote update sites and repositories and add them to your target.

Developing a target platform can become very complex. This page will be used to collect known issues so that bug reports, workarounds and proper fixes can be developed.

The Basics

The Target Platform refers to the plug-ins which your workspace will be built and run against. It describes the platform that you are developing for. When developing with PDE, the target platform is used to:

Whereas the target platform refers to your currently active bundles, a Target Definition is a way of determining the plug-ins to add to the state. You can have multiple target definitions, but only one definition can be selected as the target platform.

The target platform and your target definitions are managed on the Target Platform Preference Page. This page lists all target definitions that PDE has access to and displays which definition is being used as your current target platform. Target definitions can be created and edited here using the Target Definition Content Wizard. To make for easier sharing among a development team, targets can also be created and edited in the workspace as XML files with the extension ".target". These files can be edited using the target definition editor and can be created using the New Target Definition Wizard.[1]

The Eclipse Help Documentation provides more detailed explanation on how to use the editors, wizards and preference pages in PDE.

Examples

This section will contain examples of how different target definitions can be created. Some examples we should include are:

  • Default definition for Eclipse platform developers
  • Downloading a premade target definition file
  • Pointing at an install or a folder (the old way)
  • Pointing to a simple site, where using default include options works
  • Complex site-based target, where using default include options causes error

Going forward we will add information collected here to improve the official user help doc.

Known Issues

If you have an issue, feel free to add it here. Make sure to link to the bug report and provide any workarounds available.

Links

Links to specific project's target definition help, links to how to generate metadata, and other useful links.

  1. http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.pde.doc.user/concepts/target.htm

Back to the top