This page last changed on Aug 17, 2009 by awoods.

Installation from Source

If building a source distribution from a version prior to svn:revision:8120, see documentation(Installation from Source) describing ANT builds.
As of svn:revision:8120, the Fedora build framework has migrated from ANT to Maven2.

After unpacking the source distribution, change into the newly extracted directory. To install all dependency libraries into your local Maven repository, at a command prompt, enter:

./resources/scripts/installLibs.[sh|bat]

The installLibs.[sh|bat] step will be eliminated as soon as all of the Maven dependencies reference the publicly hosted artifacts,
such as those hosted at Maven Central

To build the installer, at a command prompt, enter:

mvn clean install -P fedora-installer

Once the build has been run with the fedora-installer profile (-P), you will be able to run the Fedora installer application. To start the installer, at a command prompt, enter:

java -jar installer/target/installer-1.0.0-fedora-installer.jar

Please ensure that the user account that is running the installer has sufficient permissions to write to the directories where Fedora will be installed (if deploying to an existing Tomcat installation, this includes permissions to the Tomcat directory). For more information on the Installer, see the Installation instructions in the Installation and Configuration Guide.

Other useful build targets in the source distribution include:

  1. mvn clean install
    • builds all source code
    • runs all unit & integration tests
  2. mvn install -Dintegration.test.skip=true
    • runs all unit tests
    • skips all integration tests
  3. mvn install -Dmaven.test.skip=true
    • skips all unit tests
  4. mvn integration-test -P config[A|B|Q]
    • runs system tests per given configuration

Back to Installation and Configuration Guide


Copyright © 2009 DuraSpace
Copyright © 2008-2009 Fedora Commons, Inc.
Copyright © 2002-2007 The Rector and Visitors of the University of Virginia and Cornell University

Document generated by Confluence on Nov 20, 2009 10:14