My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
UsingSubclipse  
Getting started with Subclipse
Phase-Support
Updated Feb 4, 2010 by virtix

Using Subclipse to get the code

Getting started is often the hardest part. Hopefully this can help you at least get the code.

Details

Lucky for us, the hard part has already been done by Bill getting the repository set up. So our task now is to get the code from the trunk and set up a project in eclipse/cfeclipse using subclipse. I'm going to presume you have the appropriate plugins already installed.

The first thing you want to do is open the SVN Repository panel. It's easy to forget about this panel because it's not displayed by default after you install subclipse.

Window | Show View | Other | SVN | SVN Repository

Next, we're going to register this project.

Click the "Add SVN Repository" button on the upper right of the panel.

Enter the project URL in the Location box: https://mxunit.googlecode.com/svn/trunk and click finish. Don't use a trailing slash on the url. If you do, you may have trouble registering the repository even though that's the way it is shown here in the instructions on the source tab.

Once you have the repository registered, you should be able to browse the trunk in the Repository panel.

Now what we want to do is create a project from the repository and pull all of the files.

We're already located at the trunk because that is what we registered. If the code branches down the road, we would probably add a new registration instead of trying to subscribe to parts. That's a topic for a later date.

You should see a folder called mxunit directly below the trunk. Right click on it and select checkout. For you VSS users, checkout has a different meaning with subversion than you are used to. Checkout in Subversion just means that you want to subscribe to the project and pull the latest files locally. It doesn't have anything to do with file locking in the repository.

Select the Check out as a project configured using the New Project Wizard and select the Head Revision. Click finish.

Now you get the project setup wizard. Select CFML Project under CFEclipse and click next.

I like to have my cfeclipse projects sitting in my local webserver, so to do this, uncheck the Use default location box, type MXUnit in the Project name box and for the location, put it with the rest of your cfeclipse projects. My location is: C:\Inetpub\wwwroot\MXUnit. Yours may be different and you may need to create a new MXUnit folder outside the dialog box.

Click finish and everything should start running. Your project will be set up and you will begin to pull the files down from the repository.

When you look in your Navigator panel, you should see an MXUnit project with the repository location after it [trunk/mxunit].

That should get you started.

Comment by ceena.ii...@gmail.com, Aug 7, 2012

THanks. Helped a lot

Powered by Google Project Hosting