Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Access restriction: The type XX is not accessible
Access restriction: The type XX is not accessible [message #479772] Wed, 12 August 2009 13:25 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1096
Registered: July 2009
Senior Member

Hello,

in several of my plugin projects I receive the errors message:

Access restriction: The type XX is not accessible due to restriction on
required project XX

XX is located in plugin A in package b and package b is exported

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Planning Plug-in
Bundle-SymbolicName: A
Bundle-Version: 1.0.0
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: b

I'm not aware of any other way to define a access restriction. The
following tips describes how to turn of the check ;-) but I would like to
solve the root cause.

http://lkamal.blogspot.com/2008/09/eclipse-access-restrictio n-on-library.html

Any advice what this could be causing?

Best regards, Lars
Re: Access restriction: The type XX is not accessible [message #479801 is a reply to message #479772] Wed, 12 August 2009 14:32 Go to previous messageGo to next message
Michael Sullivan is currently offline Michael SullivanFriend
Messages: 37
Registered: July 2009
Member
I've seen the same problem, but was content to simply turn the error down
to a warning :)

I just assumed it was a legacy, pre-OSGi Eclipse thing.
Re: Access restriction: The type XX is not accessible [message #479835 is a reply to message #479801] Wed, 12 August 2009 16:27 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1096
Registered: July 2009
Senior Member

Hi Michael,

I believe that there must be a better solution, as far as I know the
export statement is the only restriction.

Best regards, Lars




Michael Sullivan wrote:
> I've seen the same problem, but was content to simply turn the error
> down to a warning :)
>
> I just assumed it was a legacy, pre-OSGi Eclipse thing.
>




--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Re: Access restriction: The type XX is not accessible [message #600613 is a reply to message #479772] Wed, 12 August 2009 14:32 Go to previous message
Michael Sullivan is currently offline Michael SullivanFriend
Messages: 37
Registered: July 2009
Member
I've seen the same problem, but was content to simply turn the error down
to a warning :)

I just assumed it was a legacy, pre-OSGi Eclipse thing.
Re: Access restriction: The type XX is not accessible [message #600644 is a reply to message #479801] Wed, 12 August 2009 16:27 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1096
Registered: July 2009
Senior Member

Hi Michael,

I believe that there must be a better solution, as far as I know the
export statement is the only restriction.

Best regards, Lars




Michael Sullivan wrote:
> I've seen the same problem, but was content to simply turn the error
> down to a warning :)
>
> I just assumed it was a legacy, pre-OSGi Eclipse thing.
>




--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Previous Topic:Line Separator in Menubar
Next Topic:Set Selection of the Package Explorer
Goto Forum:
  


Current Time: Sat Sep 24 20:53:21 GMT 2022

Powered by FUDForum. Page generated in 0.02561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top