History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OSMORC-20
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Jan Thomä
Reporter: Jan Thomä
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Osmorc

Transparently create Bundle-Manifests without physically creating them in the project structure

Created: 07 May 08 23:01   Updated: 09 Jul 08 17:32
Component/s: None
Affects Version/s: None
Fix Version/s: 0.6.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Depend
This issue depends on:
OSMORC-8 Add run configuration type for OSGI a... Normal Open
 


 Description  « Hide
I use IntelliJ and Maven for building bundles, so the bundle manifests are usually created by a maven plugin, which uses bnd. I'd personally like it to keep it that way as managing bundle manifests manually is a rather tedious exercise. Therefore it would be nice, if Osmorc could create a Manifest on the fly using BND before launching the bundle in any container instead of forcing me to manually create and manage one which is throw away as finally my Manifest is created by Maven anyways. One could add some facet setting like "Let Osmorc keep track of your manifest" and "Create physical manifest", the former using BND to create a manifest and the latter controling whether a physical manifest is created in the source folder. That way you would add two things:

1. Extreme convenience to people who build with 100% IntelliJ as their manifest is updated automagically by BND.
2. Allow people to use external build systems to create manifest but still allowing them to fire up a quick test of their bundles without having to run the external build tool.



 All   Comments   Work Log   Change History      Sort Order:
Robert F. Beeger - 09 May 08 22:41
So in this mode Osmorc would check the dependencies and the Invalid Import inspection wouldn't be run either since the Maven plugin takes care of the dependencies. It would be a runtime only variant of Osmorc used only to start tests and applications.

This can only be done after the starting of OSGI applications and tests is implemented which is planned for version 0.7.0 in bug OSMORC-8 .


Jan Thomä - 08 Jul 08 21:46
Added this to 0.7.0. In the facet settings you can now set up if osmorc should create the manifest transparently on build or if you want to manage the manifest manually.