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

Key: OSMORC-123
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Jan Thomä
Reporter: Jan Thomä
Votes: 1
Watchers: 1
Operations

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

Read Placeholders for bnd files from Maven Metamodel or List

Created: 22 Feb 09 12:56   Updated: 10 Sep 09 14:44
Component/s: None
Affects Version/s: None
Fix Version/s: 0.14.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Relates
This issue relates to:
OSMORC-121 Import and Export packages are not pr... Normal Closed
 


 Description  « Hide
ut .bnd files are still not working (i haven't tried your fix yet). But i prepared mini-version of my test project. I think with this version you can reproduce the problem. i attached it to this issue in osgi-test.zip. (I think you will need unzip, than execute "mvn install" in the project root folder in order to install all artifacts in the local repository, and make them available to IDEA)

In osgi-test/config-bundle/target/ folder you will find two jars:
config-bundle.jar - created by Osmorc plugin
config-bundle-1.0-SNAPSHOT.jar - created by Maven2.

As you can see, even Bundle-SymbolicName is not written to the MANIFES.MF of config-bundle.jar.

You will also find two .bnd files (I tested with both of them):
osgi.bnd - contains placeholders than maven fills during build
osgi-without-placeholders.bnd - simple bnd config withouot any placeholders

I think it would be great also, if you will add support of such placeholders somehow. For example read them rom maven config (directly from pom.xml or through Idea.). but I think if user will be able to fill generic list of placeholders in
facet config it would be also great an useful.



 All   Comments   Work Log   Change History      Sort Order:
Angel - 22 Feb 09 20:27
HI, Thanks for the great support!

If you will need some help or assistance, just tell me. I don't know IDEA API, but may be I can assist you in other areas (like testing this feature, etc.)


Jan Thomä - 28 Jul 09 00:01
Bnd file handling should now work properly. Please file another issue if this is not the case.