Added by Alin Dreghiciu, last edited by Hendy Irawan on Jul 25, 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.12.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 |  |
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.
Pax Runner 0.10.0 has been released.
This release highlights are:
- support for Felix 1.0.4
- bug fixes
- include changes from Pax URL 0.3.1
Checkout release notes for details.
Pax Runner 0.9.0 has been released.
This release highlights are:
- support for Knopflerfish 2.0.4 and 2.0.5
- specific profiles per framework for configuration admin service / declarative services / http service
- new specific version profile for spring-dm: spring-dm-1.0.2
Checkout release notes for details.
Pax Runner 0.8.0 has been released.
This release highlights are:
- new option for boot delegation
- better support for Eclipse debugging (via Pax Cursor 0.4.0)
- bug fixes
- cached bundles names are now based on bundle symbolic name (whenever possible)
Checkout release notes for details.
Pax Runner 0.7.2 has been released.
This release highlights are:
- solve spring-dm profile third-party artifacts download issues
- new profile: url — include Pax URL handlers for using them in the targeted framework
- include changes from Pax URL 0.3.0
- support for maven classifiers
Checkout release notes for details.
Pax Runner 0.7.1 has been released.
This is a maintenance release that includes only the changes from Pax URL 0.2.1 addressing performance issues on maven artifact discovery.
Checkout release notes for details.
Last changed Feb 05, 2008 11:53 by Alin Dreghiciu
Labels: news, release, pax-runner
Pax Runner 0.7.0 has been released.
This release highlights are:
Checkout release notes for details.
Pax Runner supports now in upcoming release 0.7.0 also the just released Felix 1.0.3.
| |
 |  |
|
|
|