Skip to main content
Jump to: navigation, search

PTP/environment setup 50

Setup for development of PTP 5.0

These instructions describe using the HEAD version of the CVS repository. Please let us know (e.g. on ptp-dev mailing list) if these instructions need updating.

PTP 5.0 needs Eclipse 3.7/Indigo, CDT 8.0, and RSE 3.3 (at least)

  • Download Eclipse 3.7 (Indigo) here: for your platform. "Eclipse Classic" is a good choice.
  • Note: RSE is optional if you are not doing any remote development work.

Install RSE 3.3 End-User Runtime, and CDT 8.0.0, in your eclipse installation

  1. Help > Install New Software...
  2. Open "Programming Languages" and select "C/C++ Development Tools SDK"
  3. Open "General Purpose Tools" and select "Remote System Explorer End-User Runtime"
  4. Open "Collaboration" and select "Eclipse JGit"
    • Optional: get "Eclipse EGit" too; you will probably need it soon.
  5. Add as software site
    • Make sure "Show only latest version..." is disabled and "Group by category" is enabled
    • Select "Java Architecture for XML Binding (JAXB) Implementation Plug-in" and "XML Binding for Java" both version 2.1.9
  6. Optional: Open "Web, XML, JavaEE..." and select "Eclipse XML Editors and Tools" (needed to create RM configurations)

To check out PTP projects:

In CVS, check out org.eclipse.ptp/releng/ptp_project_sets as follows:

  1. Window > Open Perspective > Other...,
  2. Choose "CVS Repository Exploring"
  3. Right-click in CVS Repositories view, choose New > Repository Location
    • Host:
    • Repository path: /cvsroot/tools
    • User: anonymous
    • If you have a committer id on, use that, enter the password, and change the Connection type to extssh
  4. Expand that repository and expand HEAD. Scroll down to org.eclipse.ptp and expand it
  5. Expand releng, and check out ptp_project_sets

Now switch to the Plug-in development Perspective

  1. In the ptp_project_sets project in your workspace, right-click on anonymous/ptp-HEAD-all-anonymous.psf and select "Import project set"
    • If you have committer access, use committer/ptp-HEAD-all-committer.psf
    • Alternatively, you can check out ptp-5.0-all-*.psf (committer or anonymous)

Copy Remote Tools Dstore server jar

If you are using Remote Tools ... you may see the error "Unable to locate payload "rdt-server.jar" in bundle "org.eclipse.ptp.rdt.server.dstore" " when you launch a runtime workspace and make a remote project.

So you must do the following (Until we can build rdt server jar here) ... From a PTP (end-user) installation, unzip eclipse/plugins/org.eclipse.ptp.rdt.server.dstore_xxx.jar into a directory. Then from the unzipped contents move rdt-server.jar to your development workspace project: org.eclipse.ptp.rdt.server.dstore

(This is the file that will be moved up to the remote host location when you create a remote project. Remote Tools installs this jar on the server automatically and starts it for you.)

If you don't, you will see the error popup "Unable to locate payload "rdt-server.jar" in bundle "org.eclipse.ptp.rdt.server.dstore"

Launching a runtime workbench running the code you checked out into your workspace

  1. Run > Debug Configurations ...
  2. Double-click on 'Eclipse Application' - or click and click on the 'new' icon
  3. Defaults are probably ok to run with all the plugin projects in your workspace; hit 'Debug' in lower right corner

Back to the top