[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-dev] Re: Help: Access restriction: The type HelperContext is not accessible due to restriction on required library...
|
I have been shown a way to work around this issue.
Setting Window -> Preferences -> Java -> Compiler -> Errors/Warnings ->
Deprecated and Restricted AP -> Forbidden Reference (access rules) to Warning or
Ignore seems to solve this issue.
I plan to enter a bug. PDE gives me an error saying that there is there is an
access restriction when there is no access restriction.
-Tom
Tom Ware wrote:
Hi Folks,
Please redirect me if there is a more appropriate mailing list for
this help request.
I am having issues with transitive dependencies in the PDE environment
(Europa Winter). I have a structure like this.
- PDE Project project.a exports a number of packages
- PDE Project project.b depends on and exports project.a
If project.c is added that depends on project.b and uses classes in
packages exported in project.a the following happens:
- If I create project.c in the workspace I created project.a and
project.b in, everything is fine
- If someone else checks-out project.a and project.b from our SVN
repository and then tries to create an identical project.c we get access
restrictions on anything we are getting transitively. All the error
messages are similar to the following:
Access restriction: The method getTypeHelper() from the type
HelperContext is not accessible due to restriction on required library
.....................
The only workaround I can find is to avoid transitive dependencies and
depend directly on all the PDE projects in my workspace that I need.
Can anyone suggest something I may be doing wrong, or something better
I can do to workaround these issues?
Thanks in advance,
Tom