Eoghan Glynn
Mon, 08 Feb 2010 09:53:13 -0800
Folks, I've set up a pax-exam test to create its own pax-runner execution environment file, which I then pull in via
rawPaxRunnerOption("--ee", "file:///path/to/my/profile")
I'm doing this because I need fine-grained control over the system packages,
and the approach works in-so-far-as the generated
target/paxrunner/equinox/config.ini file contains the
org.osgi.framework.system.packages setting that I want.
However, I'm being frustrated by
org.ops4j.pax.runner.platform.internal.PlatformImpl.start() also setting a
VM option of form "-Dorg.osgi.framework.system.packages=..." which overrides
my carefully crafted system packages list. This VM option is pulled in from
org.ops4j.pax.runner.platform.Configuration.getVMOptions(), where it appears
to originate from a BundleContextPropertyResolver or
FallbackPropertyResolver.
Does anyone know how I might override this configuration so that the
"-Dorg.osgi.framework.system.packages=..." VM option is not set?
Cheers,
Eoghan
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general