Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-apt-dev] enaccessible EclipseAnnotationProcessorEnvironment[subject change]

That sounds strange to me... the error message (when I have not included the plugin as a dependecy) goes like this:

"Access restriction: The type EclipseAnnotationProcessorEnvironment is
not accessible due to restriction on required library /opt/eclipse/plugins/
org.eclipse.jdt.apt.core_3.3.0.v20060729-2000.jar"

If you ask my, I think I would be able to guess what plugin they were talking about :-D

[code]
org.eclipse.jdt.apt.core.env.EclipseAnnotationProcessorEnvironment env = null;
[/code]

Walter Harley wrote:

Good, glad to hear it.

Re quickfix, it doesn't know which plug-in to add as a dependency...
that would be sort of the equivalent of having a quick fix for a missing
jar file on the classpath.  I guess they could make it so it searched
all the available plug-ins for the class - dunno if there would be
issues with plug-ins that weren't loaded yet.

Do you have a repro for the SourceTypeBinding NPE?  That bug is
important, but it's stalled right now because there's no way for the JDT
guys to reproduce it.

thanks,
 -walter




-----Original Message-----
From: jdt-apt-dev-bounces@xxxxxxxxxxx
[mailto:jdt-apt-dev-bounces@xxxxxxxxxxx] On Behalf Of Emanuel Greisen
Sent: Tuesday, August 15, 2006 1:36 PM
To: Eclipse JDT Apt developers list.
Subject: Re: [jdt-apt-dev] enaccessible
EclipseAnnotationProcessorEnvironment[subject change]

making org.eclipse.jdt.apt.core a dependency did the trick, I am
wondering why I did not think of this. Maybe the "Quick Fix" should
suggest this as an alternative to the (not working) solution.

./Emanuel
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
_______________________________________________
jdt-apt-dev mailing list
jdt-apt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-apt-dev


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top