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.
Difference between revisions of "PTP/environment setup"
< PTP
(→Setup) |
(→Setup) |
||
Line 10: | Line 10: | ||
== Setup == | == Setup == | ||
− | + | === Install Eclipse === | |
− | # [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0 ( | + | |
− | + | [http://www.eclipse.org/downloads/ Download] and Install Eclipse 3.3 | |
− | + | ||
− | + | === Install Features === | |
− | + | ||
− | + | # [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0 | |
− | + | # (Optionally) install RSE. This is only required if you wish to use RSE for remote access | |
− | + | ||
− | + | Install as follows: | |
− | + | ||
− | + | # Launch Eclipse (as root if you installed Eclipse in a system directory) | |
− | + | # From the menu select: '''Help->Software Update->Find and Install''' | |
− | + | # Select '''Search for new features to install''', click Next | |
− | + | # Select '''Europa Discovery Site''', click Finish | |
− | + | # Select a valid mirror, click Ok | |
− | + | # Expand '''Europa Discovery Site''' | |
− | + | # Select '''C and C++ Development''' | |
− | + | # Select '''Remote Access and Device Development->Remote System Explorer...''' if you wish to install RSE | |
+ | # Click Next | ||
+ | # Read and check '''I accept''' click Next and Finish. | ||
+ | # Click '''Install All''' | ||
+ | |||
# Setup CVS Access ([http://wiki.eclipse.org/CVS_Howto Howto]) | # Setup CVS Access ([http://wiki.eclipse.org/CVS_Howto Howto]) | ||
## In Eclipse switch to '''CVS Repository Exploring''' perspective. | ## In Eclipse switch to '''CVS Repository Exploring''' perspective. | ||
Line 38: | Line 42: | ||
### Password - '''(leave blank)''' | ### Password - '''(leave blank)''' | ||
### Connection Type - '''pserver''' | ### Connection Type - '''pserver''' | ||
− | + | ||
− | {| | + | === Checkout PTP Plugins === |
− | } | + | |
+ | The easiest way to do this is to import using team project sets. The following table summarizes the available sets: | ||
+ | |||
+ | {| border="1" callpadding="2" | ||
+ | ! Project Set Contents !! Committer Access !! Anonymous Access | ||
+ | |- | ||
+ | | Core PTP Plugins || [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.ptp/releng/ptp-2.0-committer.psf?cvsroot=Tools_Project] || [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.ptp/releng/ptp-2.0-anonymous.psf?cvsroot=Tools_Project] | ||
+ | |- | ||
+ | |} | ||
+ | |||
## Expand '''Head->org.eclipse.ptp''' | ## Expand '''Head->org.eclipse.ptp''' | ||
## Expand '''core''' directory and select all projects <u>except</u> '''old , org.eclipse.ptp.simulation.core , and org.eclipse.simulation.ui''' | ## Expand '''core''' directory and select all projects <u>except</u> '''old , org.eclipse.ptp.simulation.core , and org.eclipse.simulation.ui''' |
Revision as of 10:52, 3 January 2008
Contents
PTP Developer Environment Setup (PTP 2.0)
Prerequisites
- Java 1.5 or later (Note: for Linux, must be Sun or IBM's)
- Eclipse 3.3.x
- CDT 4.0
- OpenMPI 1.2 (the earlier 1.0.2 version is also supported)
- gdb 6.3 or later (earlier versions may also work)
Setup
Install Eclipse
Download and Install Eclipse 3.3
Install Features
- Install CDT 4.0
- (Optionally) install RSE. This is only required if you wish to use RSE for remote access
Install as follows:
- Launch Eclipse (as root if you installed Eclipse in a system directory)
- From the menu select: Help->Software Update->Find and Install
- Select Search for new features to install, click Next
- Select Europa Discovery Site, click Finish
- Select a valid mirror, click Ok
- Expand Europa Discovery Site
- Select C and C++ Development
- Select Remote Access and Device Development->Remote System Explorer... if you wish to install RSE
- Click Next
- Read and check I accept click Next and Finish.
- Click Install All
- Setup CVS Access (Howto)
- In Eclipse switch to CVS Repository Exploring perspective.
- Click on the Add CVS Repository Icon in the CVS Repositories view.
- Add the following information, then click Finish:
- Host - dev.eclipse.org
- Repository Paths - /cvsroot/tools
- User - anonymous
- Password - (leave blank)
- Connection Type - pserver
Checkout PTP Plugins
The easiest way to do this is to import using team project sets. The following table summarizes the available sets:
Project Set Contents | Committer Access | Anonymous Access |
---|---|---|
Core PTP Plugins | [1] | [2] |
- Expand Head->org.eclipse.ptp
- Expand core directory and select all projects except old , org.eclipse.ptp.simulation.core , and org.eclipse.simulation.ui
- Right-click and select 'Check Out'
- Expand debug directory and select all projects except old
- Right-click and select 'Check Out'
- Expand releng directory and select all projects except old
- Right-click and select 'Check Out'
- Expand rms directory and select the resource manager(s) you need. Probably at least orte, and possibly not bluegene.
- Right-click and select 'Check Out'
- (Optional, to get PLDT) Expand tools directory and select all the org.eclipse.ptp.pldt* projects.
- Right-click and select 'Check Out'
- Build OpenMPI Proxy
- Follow OpenMPI build directions as listed in PTP Release Notes
- Follow the same directions to build your proxy plugin (sh BUILD for your platform), make sure it is the one in your workspace directory.
- Be sure to export this environment variable before compiling:
LD_LIBRARY_PATH=/usr/local/lib
- Be sure to export this environment variable before compiling:
- Close unrelated projects.
- Close org.eclipse.ptp.debug.sdm , org.eclipse.ptp.orte.proxy , org.eclipse.ptp.proxy.tests
- Create an eclipse application launch configuration
- Click on org.eclipse.ptp.core, Click on Run, Run as Eclipse Application
- Enjoy!!!
References
Eclipse Downloads [3] CDT Downloads Page [4] CVS Howto [5] PTP Release Notes [6]