No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
amazons3
config
core
dropbox
interfaces
metadatamgr
native
osgi-feature
passwordmgr
rest
sugarsync
test/src/de/dhbw_mannheim/cloudraid
ubuntuone
.gitignore
AUTHORS
LICENSE
README.rst

README.rst

README

Version: 1.0.0

License

The application's license can be found in LICENSE.

Requirements

Core Application

RESTful API

The RESTful API requires additional dependencies that are stated here:

Native Libraries

For performance reasons crucial parts of the application are not written in Java but in C. The C source code is located in src/native.

There are two ways to compile and use the shared objects:

  1. Compile it for your architecture (x86 or x86_64), and install it to /usr/lib.
  2. Compile it for x86 and x86_64, and install it into the CloudRAID core/lib directory.

For both ways make sure the JAVA_HOME variable is set correctly. If not, the build will fail since the file jni.h cannot be located.

First Approach

To build the shared objects change to the native source folder and execute:

make clean (optional)
make
sudo make install

If you want to build a debug version of the libraries, execute:

make clean (optional)
make DEBUG=1
sudo make install

Testing the C code:

make clean (optional)
make test (optional DEBUG=1)
make run-test

Second Approach

Build the shared objects for both architectures and copy them into core/lib:

make clean (optional, but recommended)
make crosscompile

If you want to compile only for one architecture, use for x86:

make clean (optional)
make bundlecompile ARCH=-m32
make bundleinstall

and use for x86_64:

make clean (optional)
make bundlecompile ARCH=-m64
make bundleinstall

Note that the ARCH parameter is not optional. You have to define it for the bundlecompile command.

Run

To run CloudRAID, you need to start the OSGi console with -Dorg.osgi.service.http.port=PORT. Replace PORT with any unbound port larger than 1024 if you don't have administrative privileges.

Please start the bundles in the following order:

  1. org.eclipse.equinox.ds_1.3.1.R37x_v20110701
  2. org.eclipse.equinox.http.servlet_1.1.200.v20110502
  3. CloudRAID-Password
  4. CloudRAID-Config
  5. CloudRAID-Metadata
  6. CloudRAID-Core
  7. CloudRAID-RESTful