Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 60 lines (40 sloc) 2.087 kB
c391e61 Initial import
Michael Piatek authored
1 # OneSwarm
2
7e0cd17 @CSEMike added build instructions for osx and windows
authored
3 * [WWW](http://www.oneswarm.org/)
c391e61 Initial import
Michael Piatek authored
4 * [Forum](http://forum.oneswarm.org/)
8993c9b @CSEMike updating urls
authored
5 * [Wiki](https://github.com/CSEMike/OneSwarm/wiki)
050db71 Added note regarding Ant memory usage
Michael Piatek authored
6
7 # Building
8
7e0cd17 @CSEMike added build instructions for osx and windows
authored
9 #### Mac OS X
10
11 1. Install the [developer tools](http://developer.apple.com/xcode/)
12 2. Install git, ant, and ant-contrib from [macports](http://www.macports.org/)
13
d6ef4eb @CSEMike update git package in readme
authored
14 * `sudo port install git-core`
7e0cd17 @CSEMike added build instructions for osx and windows
authored
15 * `sudo port install apache-ant`
16 * `sudo port install ant-contrib`
17
18 3. `git clone git@github.com:CSEMike/OneSwarm.git`
19 4. `export ANT_OPTS="-Xmx256m"`
20 4. `ant`
21 5. `ant run`
22
23 #### Windows
24
25 1. Download and install the [latest JDK](http://www.oracle.com/technetwork/java/javase/downloads/jre-6u25-download-346243.html)
26 2. Download the [ant build tool](http://ant.apache.org/bindownload.cgi)
27 * [Ant installation instructions](http://ant.apache.org/manual/install.html)
28 3. Update your JAVA_HOME and ANT_HOME environment variables appropriately:
29
30 * `set ANT_HOME=c:\apache-ant` (wherever you put it)
31 * `set JAVA_HOME=c:\jdk1.6.0_25` (wherever you put it)
32 * `set PATH=%PATH%;%ANT_HOME%\bin`
33
34 4. Install misc. ant dependencies
35 * `cd %ANT_HOME%`
36 * `ant -f fetch.xml -Ddest=system`
37
38 5. Install [ant-contrib](http://ant-contrib.sourceforge.net/) (put the ant-contrib-1.0b3.jar in `%ANT_HOME%\lib`)
39
4d95a20 @CSEMike switch to readonly checkout url
authored
40 6. `git clone git://github.com/CSEMike/OneSwarm.git`
f5b30a4 @CSEMike don't need explicit memory sizing on windows apparently
authored
41 7. `ant`
42 8. `ant run`
e380b4a @CSEMike adding note on readme
authored
43
44
8a472e5 @CSEMike adding ubuntu build instructions link to README
authored
45 #### Linux
46
d44f6dd @wolverine2k Added instructions to compile on Linux/Ubuntu
wolverine2k authored
47 1. sudo apt-get install ant ant-contrib
48 2. git clone git://github.com/CSEMike/OneSwarm.git
49 3. From OneSwarm directory:
50 * ant -lib /usr/share/java
51 * ant -lib /usr/share/java run
52
53 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.
54
8a472e5 @CSEMike adding ubuntu build instructions link to README
authored
55 * [Ubuntu](https://github.com/CSEMike/OneSwarm/wiki/Building-on-Ubuntu)
56
e380b4a @CSEMike adding note on readme
authored
57 # Testing
58
24af93e @willscott Update README.md
willscott authored
59 `ant test` or `ant junit`
Something went wrong with that request. Please try again.