I have a case where the generated manifest is missing an import-package that
seems to be necessary.  The reason I think it is necessary is that Eclipse
PDE gives me an "access restriction" error in the code.

I tried pure Bnd:

java -jar bnd-0.0.313.jar print util-1.5.0.jar

and it also misses the import.  I've attached the jar, and the error is on
line 157 of 
http://code.marketcetera.org/root/trunk/source/util/src/main/java/org/marketcetera/util/auth/SpringContext.java
this file .
http://www.nabble.com/file/p23623628/util-1.5.0.jar util-1.5.0.jar 

The code:

((PropertyPlaceholderConfigurer)context.getBean
         (CONFIGURER_BEAN_NAME)).setProperties(properties);

indirectly uses org.springframework.core.io.support.PropertyLoaderSupport,
but Bnd does not discover that package.

I can work around it by manually adding that import-package.

Am I making a mistake?  Should I report this somewhere?  

Thanks,
Will


-- 
View this message in context: 
http://www.nabble.com/-maven-bundle-plugin--possible-bug-in-Bnd--tp23623628p23623628.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to