Added by Alin Dreghiciu, last edited by Alin Dreghiciu on Nov 13, 2008
(view change)
pax, runner, osgi, platform, launch, equinox, felix, knopflerfish, url, handler, provision, pax-project, concierge
|
|
 | Usage |  |
|
Installation instructions
Follow this steps in order to install pax runner or watch a screencast:
- Download the latest version (0.16.0) from below or checkout older versions:
- Unpack the downloaded archive to an arbitrary folder
- Optional: set the PATH to include also the bin directory from the unpacked directory so you will be able to execute pax-run from anywhere.
- Go to the folder containing your bundles and execute pax-run. Note that this is just an example of how you could start pax runner. For other ways see how do you start it up (for jdk 1.4 use pax-run-1.4)
How do you start it up
pax-run [--option]* [provision_spec]*
where:
- option : optional; a start up option. Can be zero, one or more.
- provision_url : optional; a provision specification. Can be zero, one or more.
DOS/Windows users have to enclose every option between quotes ("). Check FAQ for details.
Debugging with Pax Runner
pax-run --vmOptions=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
Then you can use your IDE, such as Eclipse IDE, to attach debugger to localhost port 8000.
If you use <tt>mvn pax:provision</tt>, create a file named <tt>runner.args</tt> and put <tt>--vmOptions=-agentlib:jdwp=transport=dt_socket,server=y,address=8000</tt> in it. Or you can use Maven goal configuration <tt>args</tt> that specifies the file name (<tt>runner.args</tt> is default).
More about Java JPDA debugging info here: http://articles.techrepublic.com.com/5100-10878_11-6139512.html
Provision urls
A provision specification is an URL like string that is understood by one of the scanners. Default value is "./*.jar" meaning that will scan the folder from where runner was started for all the jar files and will install them via Scanner - Directory.
If no provision schema is specified, runner will try to determine the correct schema based on the extension of your file as follow:
If there is no protocol specified and runner can find a file that matches it will automatically transform it to an valid file url. This means that you can simply use a provision url as mybundles.txt and runner will resolve it for you from the current folder.
Options
If the default settings of runner does not suit you below you can find a set of usual options that allow you to control runner behavior (listed alphabetically).
For a detailed list of options take a look at this page.
Legend
- stands for: implemented
- stands for: under development
- stands for: in design phase
- stands for: only an idea
Source code
https://scm.ops4j.org/repos/ops4j/projects/pax/runner ( or browse via FishEye )
This project builds with Apache Maven and uses Apache Felix's maven-bundle-plugin, and Peter Krien's bnd tool.
Issue tracker
Issues, bugs, and feature requests can be submitted to the issue tracking system.
Previous versions
For information on Pax Runner releases before 0.5.0 visit this page.
| |
 |  |
|
 | Latest News |  |
Last changed Nov 13, 2008 20:05 by Alin Dreghiciu
Labels: news, release, pax-runner, pax, runner, felix
Pax Runner 0.16.0 has been released.
This release highlights are:
- support for Felix 1.4.0
- various bug fixes and improvements
Checkout release notes for details.
Last changed Nov 05, 2008 21:36 by Alin Dreghiciu
Labels: pax, runner, pax-runner, news, felix
Even if not Felix 1.4.0 is not yet released, Pax Runner already has support for it . You can try it out by using the version deployed in our maven snapshot repository.
Felix is now aligning with OSGi RFC 0132 meaning that beside others it will also change some of the properties to comply with the new standard (e.g. felix.startlevel.framework becomes org.osgi.framework.startlevel). But if you sued the startup option --startlevel (or org.ops4j.pax.runner.platform.startLevel) you are good to go without any change. Because this is one of the strong points of Pax Runner. It abstracts you from the underlying OSGi framework giving you an "common language" for all of them. This, beside many others... 
To start it up you can use (you know , Felix is our default framework):
Last changed Oct 29, 2008 16:38 by Alin Dreghiciu
Labels: news, release, pax-runner, pax, runner
Pax Runner 0.15.0 has been released.
Releasd on request Pax Runner adds support for managed boot classpath jars.
Checkout release notes for details.
Last changed Oct 25, 2008 23:43 by Alin Dreghiciu
Labels: news, release, pax-runner, pax, runner, equinox, felix
Pax Runner 0.14.2 has been released.
This is a maintenance release correcting the problems introduced by 0.14 relase regarding older versions of Felix and Equinox not working anymore.
Checkout release notes for details.
Last changed Oct 22, 2008 16:51 by Alin Dreghiciu
Labels: news, release, pax-runner, pax, runner
Pax Runner 0.14.1 has been released.
This is a maintenance release correcting the wrong assembly of Pax Runner for version 0.14.0.
Checkout release notes for details
Pax Runner 0.14.0 has been released.
This release highlights are:
- support for Felix 1.2
- support for Equinox 1.4.1
- support for Knopflerfish 2.1.1 (and corrected bundles urls according with latest changes in knopflerfish repository)
- bug fixes and improvements
Checkout release notes for details.
Pax Runner 0.13.0 has been released.
This release highlights are:
- support for Felix 1.2.0 and 1.2.1
- new profiles for spring/spring dm (1.0.3 / 1.1.1)
- small bug fixes and improvements
Checkout release notes for details.
Pax Runner 0.12.0 has been released.
This release highlights are:
- support for Equinox 3.4
- improve handling of logging while embedding Pax Runner (e.g. Pax Drone)
Checkout release notes for details.
Last changed Jul 07, 2008 13:33 by Alin Dreghiciu
Labels: news, release, pax-runner, pax, runner
Pax Runner 0.11.0 has been released.
This release highlights are:
- support for Knopflerfish 2.1.0
- include changes from Pax URL 0.3.2 (support for maven proxies)
Checkout release notes for details.
Pax Runner supports now also the just released Knopflerfish 2.1.0.
You can use the SNAPSHOT version to try it out.
| |
 |  |
|
|
|