Export-Package constraints problem [message #552156] |
Wed, 11 August 2010 06:39 |
Jingang Zhou Messages: 18 Registered: August 2010 |
Junior Member |
|
|
Hi,
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?
Best regards.
[Updated on: Wed, 11 August 2010 06:41] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03640 seconds