- Install the developer tools
- Install git, ant, and ant-contrib from macports
sudo port install git-core
sudo port install apache-ant
sudo port install ant-contrib
git clone git@github.com:CSEMike/OneSwarm.git
export ANT_OPTS="-Xmx256m"
ant
ant run
- Download and install the latest JDK
- Download the ant build tool
- 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
- sudo apt-get install ant ant-contrib
- git clone git://github.com/CSEMike/OneSwarm.git
- From OneSwarm directory:
- ant -lib /usr/share/java
- ant -lib /usr/share/java run
I have been able to successfully compile with OpenJDK which I recommend to use. But if there are errors/problems, please use the SunJDK as mentioned in the link below.
ant test
or ant junit