Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
PTP/environment setup 50
< PTP
Revision as of 13:49, 30 May 2011 by Unnamed Poltroon (Talk) (New page: === 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 ...)
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: http://eclipse.org/downloads/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
- Help > Install New Software.. .and add both the above downloaded archives
- Note that now you can also install RSE from the Indigo Update site
- It is assumed that you have an internet connection while installing; if there are pre-reqs missing, it will attempt to fetch them.
- To see just the local archives and install all at once, select, under "Work with:", "--Only Local Sites--"
- For RSE: Under TM and RSE 3.2, install the "Remote System Explorer End-Use Runtime"
- For CDT: Install all "CDT Main Features" - development tools and SDK
- Next, Next, accept license terms, Finish
To check out PTP projects:
- In CVS, check out org.eclipse.ptp/releng/ptp_project_sets as follows:
- Window > Open Perspective > Other..., CVS Repository Exploring
- Rightmouse in CVS Repositories view, New > Repository Location
- Host: dev.eclipse.org, Repository path: /cvsroot/tools, User: anonymous
- If you have a committer id on dev.eclipse.org, use that, enter the password, and change the Connection type to extssh
- Host: dev.eclipse.org, Repository path: /cvsroot/tools, User: anonymous
- Expand that repository and expand HEAD. Scroll down to org.eclipse.ptp and expand it
- Under releng, check out ptp_project_sets
- Return to the Plug-in development Perspective
- In the ptp_project_sets project in your workspace, rightMouse on anonymous/ptp-HEAD-all-anonymous.psf and select "Import project set"
- If you have committer access, use committer/ptp-HEAD-all-committer.psf
- It should check out everything you need.
Launching a runtime workbench running the code you checked out into your workspace
- Run > Debug Configurations ...
- Double-click on 'Eclipse Application' - or click and click on the 'new' icon
- Defaults are probably ok to run with all the plugin projects in your workspace; hit 'Debug' in lower right corner