Developing Active Fedora 8 with Fedora 4


  1. git

    $ brew install git
    $ apt-get install git


  2. Java 1.7


  3. Maven 3 (for building Fedora 4 from source)

    $ brew install maven
    $ apt-get install maven


  4. RVM

    $ curl -sSL | bash -s stable

  5. Ruby 2.0

    $ rvm install 2.0

Active Fedora 8

  1. Download the fedora-4 branch of Active Fedora and install dependencies

    $ git clone
    $ cd active_fedora
    $ git checkout fedora-4
    $ bundle install

  2. Download and setup Jetty

    $ rake jetty:unzip
    $ rake jetty:start

Fedora 4

To use a version of Fedora 4 newer than the one included in Hydra-Jetty, either download a snapshot build, or build from source. Once you have an updated WAR file, deploy to Jetty and restart.

Snapshot builds


Build from source

$ git clone
$ cd fcrepo4
$ MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=1024m" mvn clean install

Note: if you have problems building Fedora 4, you may need to add additional options (see the README file at

The new WAR file will be in fcrepo-webapp/target/fcrepo-webapp-4.0.0-alpha-6-SNAPSHOT.war.

Deploy new WAR file and restart Jetty

$ cp fcrepo-webapp-4.0.0-alpha-6-SNAPSHOT.war /path/to/active_fedora/jetty/webapps/fcrepo-webapp-4.0.0-alpha-5.war
$ cd /path/to/active_fedora
$ rake jetty:stop
$ rake jetty:start