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
(Environment Setup for compiling/debugging PTP)
Line 10: Line 10:
 
== Setup ==
 
== Setup ==
  
# Download and Install Eclipse 3.3
+
# [http://www.eclipse.org/downloads/ Download] and Install Eclipse 3.3
# Install CDT 4.0
+
# [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0
# Setup CVS Access
+
## Launch Eclipse as root
# Checkout everything from core, debug, releng, execpt simulation and old
+
## 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'
 +
 
 +
# 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:
 +
 
 +
'''Host''' - dev.eclipse.org
 +
'''Repository Paths''' - /cvsroot/tools
 +
'''User''' - anonymous
 +
'''Password''' - (leave blank)
 +
'''Connection Type''' - pserver
 +
 
 +
## Click Finish
 +
# 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
 
# Build OpenMPI Proxy
 
# Create an eclipse application launch configuration
 
# Create an eclipse application launch configuration
Line 21: Line 50:
 
Eclipse Downloads [http://www.eclipse.org/downloads/]
 
Eclipse Downloads [http://www.eclipse.org/downloads/]
 
CDT Downloads Page [http://www.eclipse.org/cdt/downloads.php]
 
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]
 
PTP Release Notes [http://www.eclipse.org/ptp/docs/releases/release-1.1.php]

Revision as of 15:57, 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'
  1. 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:
Host - dev.eclipse.org 
Repository Paths - /cvsroot/tools
User - anonymous
Password - (leave blank)
Connection Type - pserver
    1. Click Finish
  1. 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'


  1. Build OpenMPI Proxy
  2. Create an eclipse application launch configuration


References

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

Back to the top