Closed duponter closed 8 years ago
Hi, could you please create a Jira Issue for this, and it would be great if you would be willing to apply this PR yourself, we'll invite you to the repo shortly.
Hi, issue PAXRUNNER-452 has been created for this PR. How do I link the issue to this repository to see the Development section (containing number of branches, commits and pull requests - see image below) in the JIRA issue details?
In our application, we use the org.ops4j:maven-pax-plugin:1.5 to generate the config.ini for deployment on Felix 4.6.1. For test and production environments, we simply employ the noop runner to generate the script. For local development, we execute the pax:provision goal using the default Java runner.
In general, this setup works pretty well. However, when using fragment bundles (which are not meant to start up according to the OSGi specs), following exception is shown:
org.osgi.framework.BundleException: Fragment bundles can not be started. at org.apache.felix.framework.Felix.startBundle(Felix.java:1782)
That's because they are categorised in the generated config.ini as 'to be started' instead of 'to be started'. This pull request should fix this.
2 remarks however:
Thanks Erwin