THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Building Felix
A basic start to checking-out and building Felix:
- Download and install the latest Maven 2 release.
- Check out or update the Felix trunk (i.e.,
svn checkout http://svn.apache.org/repos/asf/felix/trunk felix
). - 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 profiles that group subprojects according to the packaging plugin they use; to build everything, we created an Ant build.xml file. 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.
- Go to the top of the project and type: "mvn -Dpackaging=plugins install" and then "mvn -Dpackaging=bundle install" to build the project.
- To run the newly built framework, cd into main and type "java -jar bin/felix.jar".
- 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.
1 Comment
Toni Menzel
for felix.installer: the current (r415327) pom.xml has points to non existant RC2 dependencies (directory.daemon.plugin and bootstrappers). Using dependency 1.0.1-SNAPSHOT works.