Skip to content
Privacy preserving peer-to-peer data sharing
Java C++ CSS HTML C Shell
Find file
Latest commit d3451f1 Jun 22, 2015 @willscott willscott Merge pull request #82 from wolverine2k/master
Added instructions to compile on Linux/Ubuntu
Failed to load latest commit information.
ant-custom/edu/washington/cs/oneswarm/ant add support for launching as a sub-build Dec 31, 2011
az_src
build
javatests/edu/washington/cs/oneswarm
oneswarm_az_mods
oneswarm_f2f
oneswarm_gwt_ui Merge branch 'master' of https://github.com/CSEMike/OneSwarm into fil… May 10, 2012
xmpp_publickey
.gitignore
GPL.txt
README.md
build.xml
changelog.txt
eclipse-code-format.xml

README.md

OneSwarm

Building

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 git@github.com:CSEMike/OneSwarm.git

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

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)

  6. git clone git://github.com/CSEMike/OneSwarm.git

  7. ant
  8. ant run

Linux

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

Testing

ant test or ant junit

Something went wrong with that request. Please try again.