## Eclipse setup

Here's a detailed guide to checking out squirrel from SVN and building from within eclipse. I've also included some information about project settings that aren't explicitly required.

You might consider creating a "squirrel" workspace.

#### Add squirrel svn repository

1. Go to Window -> Open Perspective -> Other... and select SVN Perspective
2. Then add a new repository
3. Enter the following information:
   host
     squirrel-sql.cvs.sourceforge.net
   repository path
     /cvsroot/squirrel-sql
   user
     anonymous
   password
     -- leave blank --
   connection type
     pserver
   save password
     -- check this box --

#### Check out project

1. Navigate to the sql12 directory, right click and selct "check out project as ..."
2. Then select "Checkout project using the New Project wizard."
3. Select check out as a java project
4. Enter a project name and click finish
5. Change to the java perspective by clicking yes when this dialog appears.
6. You'll then see this window, which will take awhile to complete depending on your connection speed.

#### Setting project properties

1. Open the project properties dialog
2. Add the src directories from areas of the project you intend to work with. (It's recommended that you add all of them, including the test/src directory to avoid classpath problems.)
3. Add the jar files from various directories (there are a lot, so this part may take some patience, or it can be skipped if you don't mind compiler errors in your java editor view)
4. Click OK and you'll see this in the bottom right corner.

#### Running the application

Navigate to app/src/net.sourceforge.squirrel_sql.client, right click Main.java and select "run as java application."

#### Building with ant

1. Add the ant build file by opening the ant view from Window -> Show View -> Ant, then adding a build/build.xml as a build file. There's an ant icon with + next to it that can be used to add build files. At this point you'll see something like this:
2. Execute the "make_dist" target to create distribution.
3. You can run the "test" target, but this requires running make_dist first.