Skip to content

Instantly share code, notes, and snippets.

@mathieuancelin
Created May 1, 2012 16:18
Show Gist options
  • Save mathieuancelin/2569318 to your computer and use it in GitHub Desktop.
Save mathieuancelin/2569318 to your computer and use it in GitHub Desktop.
# build the modified Weld API
# we're using Ales Justin (JBoss Weld lead) branches because he does a very good job at keeping everything up to date with Weld upstream
git clone https://github.com/alesj/api.git
git checkout -b osgi origin/osgi
cd ${START}/api
mvn clean install
# build Weld core with Weld-OSGi included
git clone https://github.com/alesj/core.git
git checkout -b osgi origin/osgi
cd ${START}/core
mvn clean install
# at this point you can go to the coffee machine ;-)
cd ${START}/core/environments/osgi/examples
mvn clean install
cd ${START}/core/environments/osgi
./run-felix.sh
# or
./run-equinox.sh
# or
./run-knopflerfish.sh
# or
./run-pojosr.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment