Eclipse 3.1 - Target Example Plugins

Target Example Plugins

This document describes the refactored target (FTP/WebDAV) examples. The FTP/WebDAV support has been refactored to separate out the parts that are suitable for an RCP application from those that require the full Eclipse SDK (i.e. IDE). The example consists of a couple of branched plugins that are part of the 3.0 FTP/WebDAV download and some new plugins that ae available from the Eclipse Platform repository but are not part of any build.

The easist way to load the plugins is using one of the following Team project sets:

Save the desired set to your local file system and then inport it using the Team Project Set import wizard in Eclipse (File>Import and select Team Project Set).

Using Target in an RCP application

To use the target plugins in an RCP application, you should load the plugins into Eclipse using the rcp-target.psf project set. You can then use the Run-time Workbench launcher to launch the application. You should do the following in the launch wizard:

  1. Create a new Run-time Workbench launch configuration
  2. Set the workspace directory appropriately
  3. Set the application to org.eclipse.target.rcp.application
  4. In the plugins tab, choose to sepcify the plugins manually (i.e. the last radio button). Next, choose Deselect All and then select the target plugins and click Add Required. This will check all the required plugins (except for org.eclipse.update.configurator so you'll need to check that one manually).
  5. Click Run (or Debug) and away you go)

This will launch an application that contains the Site Explorer. You can add FTP, WebDAV or local file system sites and drap-and-drop resources to copy from one to another.