|Export-Package constraints problem [message #552156]
||Wed, 11 August 2010 06:39
| Jingang Zhou
Registered: August 2010
Does not PDE/Equinox support the "exclude" directive in Export-Package header?
I created two plug-ins, say A and B, and create two classes (say, services.ServiceInA.java and services.NonServiceInA.java) in A and a class (say, ClientInB.java) in B. I also exported the pakage services of A and specified as below:
Export-Package: services; exclude:=NonServiceInA
When I import the services pakage in B, I can also see the NonServiceInA class in B, but it shoud not be that according to the OSGi specification, Does anybody know?
[Updated on: Wed, 11 August 2010 06:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.22322 seconds