Subclipse HOWTO PDF Print E-mail
Written by David Torre   

 

Testing Subclipse

Verify the Subclipse plug-in has been added by opening a new perspective (located in the upper right-hand corner) and choosing “Other...”

open-perspective.png

 

 

 

 

 

 

 

 

 

 

Choose the SVN Repository Exploring Plugin, and hit Ok.

 

svn-plugin.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To verify the installation of Subclipse, you may now checkout a sample project from any SVN server on the Internet. For our example, we'll check out the most recent copy of ColdFusion IMAP CFC Client from sourceforge.net, located at: http://sourceforge.net/projects/cfimap-cfc/

 

Within the SVN repository view, right-click in the white space area and select New > Repository Location...

 

new-repo.png

 

 

 

 

 

 

 

 

 

Type in the URL: https://cfimap-cfc.svn.sourceforge.net/svnroot/cfimap-cfc and click Finish.

(Note you may need to accept Source Forge's SSL certificate).

 

You should now have a repository which looks similar to the following:

cfimpap-cfc.png

 

 

 

 

 

 

 

 

 

 

 

 

 

Now that you have access to the SVN repository, it's time to “check-out” a copy of the source. Much like a tree, SVN repositories have a trunk, as well as branches. In SVN lingo, the trunk is the “main” program. The trunk should be thought of as the most recent working copy of a program. Branches, on the other hand, are parallel versions used for testing or debugging. For this exercise, we'll check out the main program by checking out the trunk. Start by simply right-clicking on the “trunk” folder, and then choose “Checkout...”

 

From the “Checkout from SVN” menu, choose: Check out as a project configured using the New Project Wizard.

 

From the “Select a Wizard” dialog, choose: CFML Project.

cfml-wizard.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Finally, give your project a name (it should be the same project name from the SVN repository. In this case: “cfimap-cfc.”) and hit Finish.

 

After editing your CFML files, you would submit your changes back into SVN through a “commit” action. While anonymous commits are not allowed for this project, an authorized developer would submit his or her changes by right-clicking on the project name in the Navigator view, choosing Team, then Commit...

commit.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note you must be a registered developer to commit source code changes to most SVN projects. 

 



 
Copyright © 2006-2009 Atomic Fission