Auto Wrap option and Java 7 support in latest Pax Runner snapshot

Auto Wrap

There is now a new "--autoWrap" option in Pax Runner 0.18.0-SNAPSHOT.

If you enable it with

./pax-run.sh --autoWrap

all your dependencies you stick into paxrunner will be gracefully checked for being a bundle (manifest+Bundle-SymbolicName must exist).
If this fails, the dependency will be wrapped using a "wrap:<yourdependency>" redirect.

Now, you can do things like that:

./pax-run.sh --autoWrap scan-dir:folderofjarsandbundles/
./pax-run.sh --autoWrap mvn:foo/bar

without careing if things are already bundles or not.

You can get a little bit more insight into what is being wrapped and what not by enabling debug logging (for the paranoid)

./pax-run.sh --autoWrap --log=debug mvn:foo/bar

This is feature is being covered by http://issues.ops4j.org/browse/PAXRUNNER-211.

Java 7 Support

It is now possible to use (and test) pax runner with Java 7 execution environment.

Get it

Consider this option as IN-BETA, so give feedback if possible.

To use it, get the latest version from our snapshot repository or build it yourself from https://scm.ops4j.org/repos/ops4j/projects/pax/runner.

This is feature is being covered by http://issues.ops4j.org/browse/PAXRUNNER-212.