Difference between revisions of "Setting up the svn"

From Knowitall
Jump to: navigation, search
Line 1: Line 1:
 
The svn is located at:
 
The svn is located at:
  
  /projects/WebWare7/afader/svn/occam/Occam
+
  /projects/WebWare7/nlp-svn/trunk
  
 
Or for an external machine you can use:
 
Or for an external machine you can use:
  
  svn+ssh://turingc.cs.washington.edu/projects/WebWare7/afader/svn/occam/Occam
+
  svn co svn+ssh://USERNAME@turingc.cs.washington.edu/projects/WebWare7/nlp-svn/trunk
  
 
I have a couple of options for checking out the svn and getting the project to work with Eclipse.   
 
I have a couple of options for checking out the svn and getting the project to work with Eclipse.   
Line 13: Line 13:
 
Create an Eclipse workspace folder and checkout the project inside of it:
 
Create an Eclipse workspace folder and checkout the project inside of it:
  
  svn co svn+ssh://USERNAME@turingc.cs.washington.edu/projects/WebWare7/afader/svn/occam/Occam
+
  svn co svn+ssh://USERNAME@turingc.cs.washington.edu/projects/WebWare7/nlp-svn/trunk
  
 
If you need to specify a username, put it after the "//".  Then you need to open your workspace in Eclipse, select the menu item "File -> Import...", select "General -> Existing Projects into Workspace" and add the project.
 
If you need to specify a username, put it after the "//".  Then you need to open your workspace in Eclipse, select the menu item "File -> Import...", select "General -> Existing Projects into Workspace" and add the project.

Revision as of 17:53, 24 November 2010

The svn is located at:

/projects/WebWare7/nlp-svn/trunk

Or for an external machine you can use:

svn co svn+ssh://USERNAME@turingc.cs.washington.edu/projects/WebWare7/nlp-svn/trunk

I have a couple of options for checking out the svn and getting the project to work with Eclipse.

SVN Command Line

Create an Eclipse workspace folder and checkout the project inside of it:

svn co svn+ssh://USERNAME@turingc.cs.washington.edu/projects/WebWare7/nlp-svn/trunk

If you need to specify a username, put it after the "//". Then you need to open your workspace in Eclipse, select the menu item "File -> Import...", select "General -> Existing Projects into Workspace" and add the project.

Subclipse Add-on

Install subclipse (http://subclipse.tigris.org/) by following the installation instruction on their homepage. Note that if you are checking it out on a non-network machine you will need to supply credentials. On Linux, this means you need to run Eclipse from the command line and it will ask for the password there when the time comes. Otherwise it won't work (or at least, I have not figured out how to make it work).

You should be able to get the project to compile from within Eclipse but you will need to add a project that links to Occam to execute an example. You can also compile from the command line by running "ant". Tony has an excellent README and example application (Example.java) in the root directory.