Difference between revisions of "STEM Source Code"

From Eclipsepedia

Jump to: navigation, search
(Accessing the STEM Source Code Repository with CVS)
(Accessing the STEM Source Code Repository with CVS)
Line 23: Line 23:
 
**'''Connection Type''': pserver
 
**'''Connection Type''': pserver
  
To import the STEM plugin projects from CVS, you can follow these steps:  
+
To import the STEM plugin projects from CVS using the Eclipse import function, you can follow these steps:  
*Bring up the CVS import function
+
*Startup Eclipse with '''c:\stem''' as the workspace.
 
**select '''file->import'''
 
**select '''file->import'''
 
**select '''CVS->Projects from CVS'''
 
**select '''CVS->Projects from CVS'''
Line 33: Line 33:
 
**expand '''org.eclipse.ohf'''  
 
**expand '''org.eclipse.ohf'''  
 
**select '''stem'''
 
**select '''stem'''
**select '''org.eclipse.ohf.stem''' projects
+
**select the '''org.eclipse.ohf.stem.*''' projects
 
**select '''finish'''
 
**select '''finish'''
  
Line 41: Line 41:
 
*org.eclipse.ohf.stem.utility
 
*org.eclipse.ohf.stem.utility
  
The rest of the org.eclipse.ohf.stem.* projects are required.
+
The rest of the '''org.eclipse.ohf.stem.*''' projects are required.
 +
 
 +
At this point, all of the projects should be checked out and then built with no errors and usually no warnings.
  
 
The repository is also available for browsing  [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ohf/?cvsroot=Technology_Project here].
 
The repository is also available for browsing  [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ohf/?cvsroot=Technology_Project here].

Revision as of 02:19, 8 February 2007

STEM Source Code

All of the files that constitute the STEM project are maintained in a “source code control” system. Anyone can obtain a copy of the files in the system, but only people designated as “committers” are allowed to add new files or make other changes to the repository.

The only files that are in the repository are those that cannot be derived from others. For instance, Java source files would be in the repository, but not Java class files.

Accessing the STEM Source Code Repository with CVS

For use when STEM is on Eclipse.OHF

All elements of the Eclipse STEM project are available for anonymous read-only access to the development CVS repository.

  • Anonymous CVS Connection Information
    • Host: dev.eclipse.org
    • Repository Paths: /cvsroot/technology
    • User: anonymous
    • Password: leave blank
    • Connection Type: pserver

To import the STEM plugin projects from CVS using the Eclipse import function, you can follow these steps:

  • Startup Eclipse with c:\stem as the workspace.
    • select file->import
    • select CVS->Projects from CVS
    • select Use existing repository location
    • select next
    • select Use existing module
    • select next
    • expand org.eclipse.ohf
    • select stem
    • select the org.eclipse.ohf.stem.* projects
    • select finish

The optional STEM projects are:

  • org.eclipse.ohf.stem.tests.* (JUnit tests)
  • org.eclipse.ohf.stem.sample
  • org.eclipse.ohf.stem.utility

The rest of the org.eclipse.ohf.stem.* projects are required.

At this point, all of the projects should be checked out and then built with no errors and usually no warnings.

The repository is also available for browsing here.

Committer access to CVS

Developers with commit rights have individual user ids and passwords in the Eclipse project development repository. As a committer you can use SSH (Secure SHell) to connect to the CVS repository as follows. Go to a Repository View and add a new CVS repository location. When asked for the repository location enter the following:

Committer CVS Connection Information
Host dev.eclipse.org
Repository Paths /cvsroot/technology
User (your committer user id, supplied by the webmaster)
Password (your committer password)
Connection Type extssh

Once your information is authenticated, you can browse the repository and add projects to your workspace. If you do some changes that you'd like to contribute, after testing and ensuring that you have followed the contribution guidelines, you are free to release your changes to the repository. Of course, you can only release changes to projects for which you have commit rights. The current list of committers for OHF can be found here.

Note that you can use the SSH protocol and your Eclipse user id to access projects for which you are not a committer but you will not be able to release changes.

More information about CVS usage with Eclipse is available here.