Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Weaving does not complete in the presence of compiler errors
Weaving does not complete in the presence of compiler errors [message #599048] Tue, 19 August 2008 17:44
Arthur Mising name is currently offline Arthur Mising nameFriend
Messages: 4
Registered: July 2009
Junior Member
I'm posting this because I spent a long time fighting with it and I want
to save others the trouble by putting it in a searchable location. I don't
know if this problem exists in Eclipse 3.4 or the associated AJDT. I am
using Eclipse 3.3 right now.

When AJDT compiles the aspect code and weaves it with the Java it appears
to stop when it first encounters a Java file that does has a compiler
error in it. This means that some but not all weaving will be done and the
advise will appear to match many fewer places than it should. For a while
I thought my pointcuts were incorrect.

This took me a while to figure out because the eclipse compiler does not
stop on the first error and the aspectJ compiler does not show an error
saying that it stopped. So I was left wondering why my pointcuts only
matched some classes and not others.

The solution was (obviously) to make sure all the files in the project
compiled without errors.

-Arthur
Previous Topic:Weaving does not complete in the presence of compiler errors
Next Topic:How can I find Test Suite in my project
Goto Forum:
  


Current Time: Thu Apr 18 23:01:16 GMT 2024

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

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

Back to the top