Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "PTP/develop/setup"

< PTP
Line 13: Line 13:
 
# [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0
 
# [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0
 
## Launch Eclipse as root
 
## Launch Eclipse as root
## From the menu select: Help->Software Update->Find and Install
+
## From the menu select: '''Help->Software Update->Find and Install'''
## Select 'Search for new features to install', click Next
+
## Select '''Search for new features to install''', click Next
## Select 'Europa Discovery Site', click Finish
+
## Select '''Europa Discovery Site''', click Finish
 
## Select a valid mirror, click Ok
 
## Select a valid mirror, click Ok
## Expand 'Europa Discovery Site' and select 'C and C++ Development', click Next
+
## Expand '''Europa Discovery Site''' and select '''C and C++ Development''', click Next
## Read and check 'I accept' click Next and Finish.
+
## Read and check '''I accept''' click Next and Finish.
## Click 'Install All'
+
## 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])
 
# 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.
## Click on the 'Add CVS Repository' Icon in the CVS Repositories view.
+
## Click on the '''Add CVS Repository''' Icon in the CVS Repositories view.
## Add the following information:  
+
## Add the following information, then click Finish:
 
+
### Host - '''dev.eclipse.org'''  
'''Host''' - dev.eclipse.org  
+
### Repository Paths - '''/cvsroot/tools'''
'''Repository Paths''' - /cvsroot/tools
+
### User - '''anonymous'''
'''User''' - anonymous
+
### Password - '''(leave blank)'''
'''Password''' - (leave blank)
+
### Connection Type - '''pserver'''
'''Connection Type''' - pserver
+
 
+
## Click Finish
+
 
# Checkout current project from CVS
 
# Checkout current project from CVS
 
## Expand '''Head->org.eclipse.ptp'''
 
## Expand '''Head->org.eclipse.ptp'''
Line 41: Line 46:
 
## Expand '''releng''' directory and select all projects <u>except</u> '''old'''  
 
## Expand '''releng''' directory and select all projects <u>except</u> '''old'''  
 
## Right-click and select 'Check Out'
 
## Right-click and select 'Check Out'
 
 
 
# Build OpenMPI Proxy
 
# 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
 
# Create an eclipse application launch configuration
 
+
## Click on '''org.eclipse.ptp.core''', Click on Run, Run as '''Eclipse Application'''
 +
# Enjoy!!!
  
 
== References ==
 
== References ==

Revision as of 16:25, 13 August 2007

PTP Developer Environment Setup

Prerequisites

  1. Java 1.5 or later (Note: for Linux, must be Sun or IBM's)
  2. Eclipse 3.3.x
  3. CDT 4.0
  4. OpenMPI 1.2 (the earlier 1.0.2 version is also supported)
  5. gdb 6.3 or later (earlier versions may also work)

Setup

  1. Download and Install Eclipse 3.3
  2. Install CDT 4.0
    1. Launch Eclipse as root
    2. From the menu select: Help->Software Update->Find and Install
    3. Select Search for new features to install, click Next
    4. Select Europa Discovery Site, click Finish
    5. Select a valid mirror, click Ok
    6. Expand Europa Discovery Site and select C and C++ Development, click Next
    7. Read and check I accept click Next and Finish.
    8. Click Install All
  3. Install RSE 2.0
    1. Launch Eclipse as root
    2. From the menu select: Help->Software Update->Find and Install
    3. Select Search for new features to install, click Next
    4. Select Europa Discovery Site, click Finish
    5. Select a valid mirror, click Ok
    6. Expand Europa Discovery Site and select Remote Access and Device Development->Remote System Explorer..., click Next
    7. Read and check I accept click Next and Finish.
    8. Click Install All
  4. Setup CVS Access (Howto)
    1. In Eclipse switch to CVS Repository Exploring perspective.
    2. Click on the Add CVS Repository Icon in the CVS Repositories view.
    3. Add the following information, then click Finish:
      1. Host - dev.eclipse.org
      2. Repository Paths - /cvsroot/tools
      3. User - anonymous
      4. Password - (leave blank)
      5. Connection Type - pserver
  5. Checkout current project from CVS
    1. Expand Head->org.eclipse.ptp
    2. Expand core directory and select all projects except old , org.eclipse.ptp.simulation.core , and org.eclipse.simulation.ui
    3. Right-click and select 'Check Out'
    4. Expand debug directory and select all projects except old
    5. Right-click and select 'Check Out'
    6. Expand releng directory and select all projects except old
    7. Right-click and select 'Check Out'
  6. Build OpenMPI Proxy
    1. Follow OpenMPI build directions as listed in PTP Release Notes
    2. Follow the same directions to build your proxy plugin, make sure it is the one in your workspace directory.
      1. Be sure to export this environment variable before compiling: LD_LIBRARY_PATH=/usr/local/lib
  7. Close unrelated projects.
    1. Close org.eclipse.ptp.debug.sdm , org.eclipse.ptp.orte.proxy , org.eclipse.ptp.proxy.tests
  8. Create an eclipse application launch configuration
    1. Click on org.eclipse.ptp.core, Click on Run, Run as Eclipse Application
  9. Enjoy!!!

References

Eclipse Downloads [1] CDT Downloads Page [2] CVS Howto [3] PTP Release Notes [4]

Back to the top