iPojo @Stereotype annotated annotation from separate bundle

2014-09-12 Thread Milen Dyankov
Hi, Is the usage of a @Stereotype annotated annotation from another bundle supported? It doesn't seem to work even though the package is properly exported and imported. The docs only say: If the stereotyped annotation is directly in the manipulated module, no > problems: any front-end will work

Re: bundle B can't see changes of classes of bundle A

2014-09-12 Thread Alejandro . Endo
it is not a bug. They do that feature in BND to allow service providers to export their APIs as well. Me, I find this creates more problems by accidentally including classes you didn't mean to (like in your case) than the case where you export and package something from another bundle. This is spec

Re: bundle B can't see changes of classes of bundle A

2014-09-12 Thread Konstantine Kougios
I found the issue, it was a problem in one of my bundle’s pom file, it did a root level package and this made maven include ALL classes for that package into the jar (not only the ones of the bundle but classes from other bundles)! Is that to be considered a bug of maven-bundle-plugin or just

Re: bundle B can't see changes of classes of bundle A

2014-09-12 Thread Konstantine Kougios
Yes I tried several times doing a manual refresh using the console. Thanks, Kostas From: Neil Bartlett mailto:njbartl...@gmail.com>> Date: Friday, 12 September 2014 16:58 To: "users@felix.apache.org" mailto:users@felix.apache.org>>, Konstantine Kougios mailto:kon

Re: bundle B can't see changes of classes of bundle A

2014-09-12 Thread Neil Bartlett
How do you perform the bundle update? If you do not refresh packages, then bundle B will remain wired to the old version of bundle A… this is true even if you uninstall bundle A. After any mutation of the set of installed bundles, it is essential to perform a package refresh. Regards, Neil O

Re: bundle B can't see changes of classes of bundle A

2014-09-12 Thread Konstantine Kougios
So lets say I modify the toString method of a class in A. Then B when using the toString(), it gets the old value (the one before A was modified) Also, I can uninstall A but B still works! And I’ve verified B.jar doesn’t include A classes or A.jar. Thanks, Kostas From: Neil Bartlett mailto:n

Re: bundle B can't see changes of classes of bundle A

2014-09-12 Thread Neil Bartlett
Can you be more specific about what this phrase means: “bundle doesn’t see the change”? It’s best to describe exactly what behaviour you expected, then how the actual behaviour differed from that. Kind regards, Neil On 12 September 2014 at 16:03:16, Konstantine Kougios (konstantine.koug...@ak

bundle B can't see changes of classes of bundle A

2014-09-12 Thread Konstantine Kougios
Hi, I am trying to sort out a very weird issue for a few hours now. I got 2 bundles, A and B. A has a class JsonObject and B has tests that run on the server (via sling-junit). So when I change a class in A and deploy it via mvn/mvn-sling-plugin , my B bundle doesn’t see the change. If I refre