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 "OSEE/Workspace Setup"

(Installing Git on Windows)
m
Line 1: Line 1:
 
This guide describes how to set up an Eclipse workspace to develop OSEE.
 
This guide describes how to set up an Eclipse workspace to develop OSEE.
  
=Downloading and Configuring Eclipse=
+
== Downloading and Configuring Eclipse ==
  
 
See the [[OSEE/Developers_Guide#Building_OSEE_using_PDE_Build|PDE Build Guide]] for information on how to download and configure Eclipse. The '''SVN PDE Build Extension''' plugin can be skipped.
 
See the [[OSEE/Developers_Guide#Building_OSEE_using_PDE_Build|PDE Build Guide]] for information on how to download and configure Eclipse. The '''SVN PDE Build Extension''' plugin can be skipped.
  
==SVN Checkout==
+
=== SVN Checkout ===
  
 
Download and import the relevant (client or application server) OSEE Team Project Set file frrom https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/plugins/org.eclipse.osee.support.config/projectSets/ into your workspace.  
 
Download and import the relevant (client or application server) OSEE Team Project Set file frrom https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/plugins/org.eclipse.osee.support.config/projectSets/ into your workspace.  
Line 11: Line 11:
 
In Eclipse, open the '''SVN Repository''' perspective and check out https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/. The username and password can be left blank for anonymous read-only access.
 
In Eclipse, open the '''SVN Repository''' perspective and check out https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/. The username and password can be left blank for anonymous read-only access.
  
== Configure a Development Runtime ==
+
=== Configure a Development Runtime ===
  
 
Using an SVN client such as [http://www.eclipse.org/subversive Subversive], check out into your Eclipse workspace all the projects from https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/.  When configuring this SVN repository leave the user name and password blank in order to get anonymous, read-only access.
 
Using an SVN client such as [http://www.eclipse.org/subversive Subversive], check out into your Eclipse workspace all the projects from https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/.  When configuring this SVN repository leave the user name and password blank in order to get anonymous, read-only access.
Line 21: Line 21:
 
#Use the configuration <tt>/org.eclipse.osee.support.config/launchConfig/OSEE Demo product &#91;localhost&#93;.launch</tt> to run a local OSEE client
 
#Use the configuration <tt>/org.eclipse.osee.support.config/launchConfig/OSEE Demo product &#91;localhost&#93;.launch</tt> to run a local OSEE client
  
= Working with Git =
+
== Working with Git ==
  
 
This guide explains how to set up a local OSEE source repository using Git. When you complete it, you will have an Eclipse workspace populated with the OSEE projects from your Git working directory, with full tool support from both the EGit plugin and the original command-line <tt>git</tt>.
 
This guide explains how to set up a local OSEE source repository using Git. When you complete it, you will have an Eclipse workspace populated with the OSEE projects from your Git working directory, with full tool support from both the EGit plugin and the original command-line <tt>git</tt>.
  
== Installing Git on Windows ==
+
=== Installing Git on Windows ===
  
 
# Download the full installer for the [http://code.google.com/p/msysgit/downloads/list latest version of msysGit].
 
# Download the full installer for the [http://code.google.com/p/msysgit/downloads/list latest version of msysGit].
Line 35: Line 35:
 
# Create a clone of the OSEE repository.
 
# Create a clone of the OSEE repository.
  
== Installing EGit ==
+
=== Installing EGit ===
  
 
Install the latest stable versions of EGit and JGit from [http://download.eclipse.org/egit/updates this update site].
 
Install the latest stable versions of EGit and JGit from [http://download.eclipse.org/egit/updates this update site].
  
== Setting up a workspace ==
+
=== Setting up a workspace ===
  
 
# Create a new Eclipse workspace.
 
# Create a new Eclipse workspace.
Line 48: Line 48:
 
# Finish the import.
 
# Finish the import.
  
== Connecting to the Git repository ==
+
=== Connecting to the Git repository ===
  
 
# Highlight all of the projects just imported from the repository.
 
# Highlight all of the projects just imported from the repository.

Revision as of 18:05, 2 July 2010

This guide describes how to set up an Eclipse workspace to develop OSEE.

Downloading and Configuring Eclipse

See the PDE Build Guide for information on how to download and configure Eclipse. The SVN PDE Build Extension plugin can be skipped.

SVN Checkout

Download and import the relevant (client or application server) OSEE Team Project Set file frrom https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/plugins/org.eclipse.osee.support.config/projectSets/ into your workspace.

In Eclipse, open the SVN Repository perspective and check out https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/. The username and password can be left blank for anonymous read-only access.

Configure a Development Runtime

Using an SVN client such as Subversive, check out into your Eclipse workspace all the projects from https://dev.eclipse.org/svnroot/technology/org.eclipse.osee/trunk/. When configuring this SVN repository leave the user name and password blank in order to get anonymous, read-only access.

  1. Follow the PostgreSQL installation instructions.
  2. Use the configuration /org.eclipse.osee.support.config/launchConfig/OSEE Demo Application Server [localhost].launch to run an OSEE application server
  3. Use the configuration /org.eclipse.osee.ats.config.demo/MasterTestSuite_DemoDbInit.launch to initialize an OSEE database
  4. Use the configuration /org.eclipse.osee.ats.config.demo/MasterTestSuite_DemoDbPopulate.launch to populate the database for demonstration purposes
  5. Use the configuration /org.eclipse.osee.support.config/launchConfig/OSEE Demo product [localhost].launch to run a local OSEE client

Working with Git

This guide explains how to set up a local OSEE source repository using Git. When you complete it, you will have an Eclipse workspace populated with the OSEE projects from your Git working directory, with full tool support from both the EGit plugin and the original command-line git.

Installing Git on Windows

  1. Download the full installer for the latest version of msysGit.
  2. Run the installer, using the default settings.
  3. Open Git Bash and run the following commands:
    1. git config --global user.email my_committer_email@address.com
    2. git config --global user.name "Committer Name"
    3. git config --global http.proxy "proxy_url:proxy_port" (if you have a proxy)
  4. Create a clone of the OSEE repository.

Installing EGit

Install the latest stable versions of EGit and JGit from this update site.

Setting up a workspace

  1. Create a new Eclipse workspace.
  2. File > Import... > Existing Projects into Workspace
  3. As the root directory, select the plugins folder in the OSEE repository.
  4. Select all projects.
  5. Do not copy the projects into the workspace.
  6. Finish the import.

Connecting to the Git repository

  1. Highlight all of the projects just imported from the repository.
  2. Right click and select Team > Share Project... (not Share Projects..., which is provided by SVN)
  3. Select Git as the repository type; click Next.
  4. Highlight all the lines displayed in the combo box (Ctrl+A).
  5. Click Finish.

Back to the top