Registered by Johan Walles

OneSwarm is a P2P file transfer scheme that protects the privacy of the nodes and their owners. Read more at http://oneswarm.cs.washington.edu/.

This is an unofficial branch of OneSwarm. When this project was registered with Launchpad, upstream didn't have any public source code repository. This project is meant to remedy that.

The code in the repository comes from a source code drop downloaded from http://oneswarm.cs.washington.edu download.html early January 2010. It also contains Maven build scripts for everything. I have successfully replaced OneSwarmAzMods.jar, osf2f_plugin.jar and oneswarm_gwt_ui.jar from the binary distribution with jars built from this source code, and I can run OneSwarm with that.

Patches are welcome and will be accepted, but since I have no connection to the official OneSwarm project I can't guarantee that anything will be accepted upstream. The preferred patch format is the one generated by "bzr send -o name.diff".

=== BROWSE SOURCE CODE ===
The source code can be browsed here:
http://bazaar.launchpad.net/~walles/oneswarm/trunk/files

=== BUILD INSTRUCTIONS ===
Install Maven (http://maven.apache.org), bzr 2.0 or later (http://wiki.bazaar.canonical.com/Download) and Eclipse (http://www.eclipse.org).

Get the code by doing: "bzr branch lp:oneswarm". There are binary blobs in the branch, which makes this take about one minute to complete.

Build all jars by doing:
$ mvn package

Note that the GWT compilation step is both time consuming (about 10 minutes) and memory hungry (about 1GB).

To run with your newly built jars, download the OneSwarm binary distribution (http://oneswarm.cs.washington.edu download.html) and unzip it. Then, cd into the OneSwarm installation and unzip the newly built oneswarm_install/deploy/oneswarm-install-6.10-SNAPSHOT.zip in there. Answer "yes" to all questions about over-writes.

=== EDITING SOURCE CODE ===
If you want to edit the source code, do "mvn eclipse:eclipse" and import the generated Eclipse projects into Eclipse. In Eclipse, do File->Import->Existing Projects into Workspace, select oneswarm as root directory and check all projects.

You may want to look into installing the bzr plugin for Eclipse:
http://wiki.bazaar.canonical.com/BzrEclipse/Installation

To add new files to your branch, do "bzr add".

To submit changes in your branch, do "bzr ci". Please make sure your unit tests pass before you do this.

If you want your code merged here, do "bzr send -o /tmp/whatever.diff" and send me the diff.

Project information

Maintainer:
Johan Walles
Driver:
Not yet selected
Licence:
GNU GPL v2

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar
Programming languages:
Java

Get Involved

  • Report a bug
  • warning
    Ask a question
  • warning
    Help translate

Downloads

OneSwarm does not have any download files registered with Launchpad.