|
|
|
[
Permlink
| « Hide
]
Jan Thomä - 19 Feb 09 21:47
I cannot reproduce this behaviour. Could you please attach one of the BND-files you are using, or post whatever you have entered into the bundle meta info in the osmorc facet?
Thank you for attention to my issue!
Today I performed additional testing and seems that facet config actually works. It's look like it was problem with old artifacts. They were not updated during make. I deleted "target" directory and it solved the problem. But .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: 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): 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 I have tried my fix with your test project it seems to work there. We plan on releasing Osmorc 0.12 this week, so your issue should be resolved in that release. As for the placeholders, this is a nice idea, which needs some work though, as i am currently trying to find out how i can connect to the maven model using IntellIJs API. Without that, reading variables from maven is quite impossible.
I have added
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||