OBO-Edit: Getting the Source Code: Difference between revisions

From GO Wiki
Jump to navigation Jump to search
No edit summary
 
Line 4: Line 4:
# Choose "Create a New Repository Location" and click "Next"
# Choose "Create a New Repository Location" and click "Next"
# Enter the information below into the form, and press "Next"
# Enter the information below into the form, and press "Next"
#* '''Host:''' <code>cvs.sourceforge.net</code>
#* '''Host:''' <code>geneontology.cvs.sourceforge.net</code>
#* '''Repository Path:''' <code>/cvsroot/geneontology</code>
#* '''Repository Path:''' <code>/cvsroot/geneontology</code>
#* '''User:''' <code>anonymous</code> ''(if you have developer access, enter your username)''
#* '''User:''' <code>anonymous</code> ''(if you have developer access, enter your username)''
Line 19: Line 19:
Congratulations! You're done!
Congratulations! You're done!


Note: OBO-Edit makes extensive use of the org.geneontology library. You may want to check out the org.geneontology library sourcecode as well. To do it, follow all the steps above, but enter <code>go-dev/java/org.geneontology</code> in the '''Use specified module name''' box. Make sure to create a new project for org.geneontology WITH A DIFFERENT NAME! If you plan to recompile org.geneontology and use the changes in OBO-Edit, you will need to set the "oboedit_library_path" ANT property for your project.  
Note: OBO-Edit makes extensive use of the org.geneontology library. You may want to check out the org.geneontology library sourcecode as well. To do it, follow all the steps above, but enter <code>go-dev/java/org.geneontology</code> in the '''Use specified module name''' box. Make sure to create a new project for org.geneontology WITH A DIFFERENT NAME! If you plan to recompile org.geneontology and use the changes in OBO-Edit, you will need to set the "oboedit_library_path" ANT property for your project.


==Getting the Source Code with Command-Line CVS==
==Getting the Source Code with Command-Line CVS==

Revision as of 10:08, 5 February 2007

Getting the Source Code with Eclipse

  1. Choose File -> New -> Project
  2. Select "Project from CVS" in the New Project Wizard, and click "Next"
  3. Choose "Create a New Repository Location" and click "Next"
  4. Enter the information below into the form, and press "Next"
    • Host: geneontology.cvs.sourceforge.net
    • Repository Path: /cvsroot/geneontology
    • User: anonymous (if you have developer access, enter your username)
    • Password: blank (if you have developer access, enter your password)
    • Connection type pserver (if you have developer access, use extssh)
    • Use default port
  5. Select Use specified module name, enter go-dev/java/oboedit in the text field, and click "Next"
  6. Select Check out as a project in the workspace and enter a name for the project (I suggest OBO-Edit)
  7. Make sure Checkout subfolders is selected and press "Next"
  8. Leave Use default workspace location selected and press "Next"
  9. If you want the latest version of OBO-Edit, select HEAD and click "Finish"
  10. If you want the code from an earlier version of OBO-Edit, select Branches and click "Refresh Tags". Expand the "Branches" node and select the desired tag from the list.

Congratulations! You're done!

Note: OBO-Edit makes extensive use of the org.geneontology library. You may want to check out the org.geneontology library sourcecode as well. To do it, follow all the steps above, but enter go-dev/java/org.geneontology in the Use specified module name box. Make sure to create a new project for org.geneontology WITH A DIFFERENT NAME! If you plan to recompile org.geneontology and use the changes in OBO-Edit, you will need to set the "oboedit_library_path" ANT property for your project.

Getting the Source Code with Command-Line CVS

Make sure that you have correctly installed CVS on your computer, and run the following commands:

For anonymous CVS access

cvs -d:pserver:anonymous@geneontology.cvs.sourceforge.net:/cvsroot/geneontology login
cvs -z3 -d:pserver:anonymous@geneontology.cvs.sourceforge.net:/cvsroot/geneontology co -P go-dev/java/oboedit
optional: cvs -z3 -d:pserver:anonymous@geneontology.cvs.sourceforge.net:/cvsroot/geneontology co -P go-dev/java/org.geneontology

For developer CVS access

export CVS_RSH=ssh
cvs -z3 -d:ext:username@geneontology.cvs.sourceforge.net:/cvsroot/geneontology co -P go-dev/java/oboedit