Privacy preserving peer-to-peer data sharing
Java C++ CSS HTML C Shell
Latest commit d3451f1 Jun 22, 2015 @willscott willscott Merge pull request #82 from wolverine2k/master
Added instructions to compile on Linux/Ubuntu



Mac OS X

  1. Install the developer tools
  2. Install git, ant, and ant-contrib from macports

    • sudo port install git-core
    • sudo port install apache-ant
    • sudo port install ant-contrib
  3. git clone

  4. export ANT_OPTS="-Xmx256m"
  5. ant
  6. ant run


  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)

  6. git clone git://

  7. ant
  8. ant run


  1. sudo apt-get install ant ant-contrib
  2. git clone git://
  3. 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