Awesome
jcrfs
A filesystem in userspace for Java Content Repositories.
jcrfs allows to mount a remote JCR repository as a local filesystem.
Status
This software is alpha and is far from being fully functionnal. Do not use it on a production repository, it may cause data loss.
Usage
Prerequisites
The following software must be installed on your system:
- FUSE: should be available through your system package manager.
- fuse4j: build from sources, and make sure the
javafs
command is available inPATH
andlibjavafs.so
is installed.
Installing
Grab a snapshot of the assembly here, or build from sources:
git clone git://github.com/nicoulaj/jcrfs.git
mvn package
Extract the assembly and add the bin/
folder to your PATH
:
tar xvzf jcrfs-VERSION.tar.gz
export PATH=jcrfs-VERSION/bin:$PATH
Using
To mount a remote JCR on a folder, you can now use the mount.jcr
command. Here is an example:
mkdir test
mount.jcr test "http://localhost:8080/rmi" -f -o user=admin,pass=admin,worskpace=default
The following options are available:
user
: the username used to connect to the JCR.pass
: the password used to connect to the JCR.workspace
: the JCR workspace to connect to.