Skip to content

Building on Windows

Pegaze edited this page May 21, 2011 · 4 revisions

Building on Windows

Download and install the latest JDK Download the ant build tool

  • Ant installation instructions

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*

Install misc. ant dependencies

  • cd %ANT_HOME%

  • ant -f fetch.xml -Ddest=system

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