Skip to content

Building on Windows

CSEMike edited this page May 23, 2011 · 4 revisions

Building on Windows

  1. Download and install the latest JDK

  2. Download the ant build tool

  3. Update your JAVA_HOME and ANT_HOME environment variables appropriately :

    • set ANT_HOME=c:\apache-ant (wherever you put it)
    • set JAVA_HOME=c:\jdk1.6.0_25 (wherever you put it)
    • set PATH=%PATH%;%ANT_HOME%\bin*
  4. Install misc. ant dependencies

    • cd %ANT_HOME%
    • ant -f fetch.xml -Ddest=system
  5. Install ant-contrib (put the ant-contrib-1.0b3.jar in '%ANT_HOME%\lib')

    • git clone git@github.com:CSEMike/OneSwarm.git
    • ant
    • ant run

Testing

  • ant test