Skip to content
rmatil edited this page May 29, 2015 · 5 revisions

Installation

Requirements

This project requires FUSE to be installed on the running machine. See Install FUSE for how to do this.

Current project build

The current jar file of this project is located in target/group3-0.0.1-SNAPSHOT-jar-with-dependencies.jar

Deployment

Use setup.sh file to deploy this project to a list of IP addresses using ssh, scp and a RSA private key for all devices.

Architecture

Setup project for developing

In order to install P2PFS on devices with ARM architecture, JNA in version > 4.1.0 is required. As FuseJna with JNA in version 3.5.2 is the only public hosted version (in maven central repository), you have to build FuseJna from source. However, we did that already, and the corresponding jar file is included in lib/fuse-jna-1.0.3-uber.jar.

  • Clone Project: git clone https://github.com/rmatil/p2pfs.git
  • In Eclipse make sure, you have the m2e plugin installed.
  • Import the repo as Maven Project
  • You may have to install FuseJna in version 1.0.3 to your local repo by executing the following: mvn install:install-file -Dfile=path/to/fuse-jna-1.0.3-uber.jar -DgroupId=net.fusejna -DartifactId=fuse-jna -Dversion=1.0.3 -Dpackaging=jar FuseJna in version 1.0.3 is located in the projects path lib/fuse-jna-1.0.3-uber.jar.

Once you have set up the project, you may want to consider the following links: