| Hi Gabriel, 
 In A's manifest declare x-friends like this:
 
 Export-Package: org.eclipse.emf.cdo;version="3.0.0",
 org.eclipse.emf.internal.cdo.analyzer;version="3.0.0";x-friends:="org.eclipse.emf.cdo.net4j,org.eclipse.emf.cdo.server,org.eclipse.emf.cdo.tests,org.eclipse.emf.cdo.defs,org.eclipse.emf.cdo.ui"
 
 In the manifest editor you can also select "hidden from all plug-ins
except:" and choose from the list.
 
 Cheers
 /Eike
 
 ----
 http://thegordian.blogspot.com
 http://twitter.com/eikestepper
 
 
 
 Am 16.03.2010 11:09, schrieb Gabriel Petrovay:
 Hi,
  
 I have two plug-ins: A and B. A defines some internal classes.
"internal" here means "not in the API", people from outside of my
project (plug-ins A and B) should not use them. 
 Currently, in plug-in B I get all these warnings like the
following: 
  Discouraged access: The type
MyInternalClassFromAUsedFromOneClassInB is not accessible due to
restriction on required project plugin_A_project 
 
 How can I allow plug-in B to use these internal classes without
getting those errors? 
 Thanks! 
 
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev 
 |