You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Building Felix

A basic start to checking-out and building Felix:

  1. Download and install the latest Maven 2 release.
  2. Check out or update the Felix trunk (i.e., svn checkout http://svn.apache.org/repos/asf/incubator/felix/trunk felix).
  3. Perform an "mvn clean install" in the trunk to clean and build everything. Due to a bug in Maven related to having multiple packaging plugins in the same project, this step no longer works. We were forced to split our POM file into two separate POM files for our different packaging plugins. To build both POM files, we created an Ant build.xml. Simply type "ant" to do the equivalent of "mvn clean install" or do "ant clean" or "ant install" to do "mvn clean" or "mvn install", respectively.
  4. To run the newly built framework, cd into main and type "java -jar bin/felix.jar".
  5. If you want to create the installers, cd into installers and do a "mvn clean install", which will generate the installers in the installers/target/images/ directory.

There is a simple build script in the trunk, called build_run.sh, that will build and run the framework for those that want a simple way to do all of this.

  • No labels