|
Re: Not exposed to weaver and compilation errors [message #44261 is a reply to message #44232] |
Fri, 12 November 2004 17:34 |
Eclipse User |
|
|
|
Originally posted by: mchapman.uk.ibm.com
On Fri, 12 Nov 2004 09:40:18 +0000, Rory Steele wrote:
> I have two projects open in my workspace: a java project and an AJDT
> project - the AJDT references the other in its Java build path (in
> projects tab).
> When I try to compile the AJDT, it gives a 'type not exposed to weaver'
> warning when it tries to weave an object in the other java project.
> However, when I add the bin folder of the java project to the AJDT inpath
> as a class folder, the weave warning goes away but the java project
> suddenly develops a load of compilation errors. Am I doing something wrong
> here?
>
> Normally I break my java projects up like this and they all play happily
> together - it only seems to happen when I add it via the inpath
Hi,
What you're doing sounds okay. You need to use inpath in order for the
classes from the Java project to be woven into.
There is an option under project properties > AspectJ > Output weaving
info messages to problem view. Enabling that will then confirm what is
being woven.
What sort of errors are you seeing in the Java project? Do other Java
projects with the same setup have the problem too, or it is just this one?
What versions of Eclipse and AJDT are you using?
Regards,
Matt.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03871 seconds