|
|
Line 1: |
Line 1: |
− | = PTP Developer Environment Setup =
| |
| | | |
− | == 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 ==
| |
− |
| |
− | # [http://www.eclipse.org/downloads/ Download] and Install Eclipse 3.3
| |
− | # [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0
| |
− | ## Launch Eclipse as root
| |
− | ## 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''' and select '''C and C++ Development''', click Next
| |
− | ## Read and check '''I accept''' click Next and Finish.
| |
− | ## Click '''Install All'''
| |
− | # Install RSE 2.0
| |
− | ## Launch Eclipse as root
| |
− | ## 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''' and select '''Remote Access and Device Development->Remote System Explorer...''', click Next
| |
− | ## Read and check '''I accept''' click Next and Finish.
| |
− | ## Click '''Install All'''
| |
− | # Setup CVS Access ([http://wiki.eclipse.org/CVS_Howto 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 current project from CVS
| |
− | ## 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'''
| |
− | ## Right-click and select 'Check Out'
| |
− | ## Expand '''debug''' directory and select all projects <u>except</u> '''old'''
| |
− | ## Right-click and select 'Check Out'
| |
− | ## Expand '''releng''' directory and select all projects <u>except</u> '''old'''
| |
− | ## Right-click and select 'Check Out'
| |
− | # Build OpenMPI Proxy
| |
− | ## Follow OpenMPI build directions as listed in [http://www.eclipse.org/ptp/docs/releases/release-1.1.php PTP Release Notes]
| |
− | ## Follow the same directions to build your proxy plugin, make sure it is the one in your workspace directory.
| |
− | ### Be sure to export this environment variable before compiling: <code>LD_LIBRARY_PATH=/usr/local/lib</code>
| |
− | # 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 [http://www.eclipse.org/downloads/]
| |
− | CDT Downloads Page [http://www.eclipse.org/cdt/downloads.php]
| |
− | CVS Howto [http://wiki.eclipse.org/CVS_Howto]
| |
− | PTP Release Notes [http://www.eclipse.org/ptp/docs/releases/release-1.1.php]
| |