Setup developer environment for Swirl Workspace

  1. Download and install Ant (version >= 1.6) Home Page
  2. Download and install Maven 1.0 Download Here
  3. Set system properties: MAVEN_HOME to Maven's home directory, ANT_HOME to Ant's home directory, JAVA_HOME to Java's home directory
  4. Add MAVEN_HOME\bin,JAVA_HOME\bin, and ANT_HOME\bin to system path
  5. In Eclipse's "CVS Repositories" View, create a new "Repository Location:"
    • Host: drzaius.ics.uci.edu
    • Repository path: /export/cvs
    • Username: your username from drzaius
    • Password: your password from drzaius
  6. Checkout the swirl-workspace project and the yancees project
  7. Create a file in your user/home directory called build.properties with the following:
    maven.repo.local=${maven.home}/repository
    maven.plugin.unpacked.dir=${maven.home}/plugins
  8. Open a command prompt and change to the eclipse workspace directory for swirl (probably c:\eclipse\workspace\swirl-workspace)
  9. Type maven console to bring up the maven command line. It will download all the dependencies for maven an Swirl.
  10. At the maven command line, enter eclipse to generate the eclipse project files
  11. In Eclipse, go to Window > Preferences > Java > Classpath Variables and add a new Folder variable named MAVEN_REPO that points to MAVEN_HOME\repository (substitute MAVEN_HOME accordingly)
  12. To compile and run the application, type swirl:run into the maven console