Hi Folks,
Was hoping someone could give me a pointer with a problem I'm having with
the aspectj plugin...
I've got my source code under main/src and the unit tests under main/test,
however I can't get aspectj compiling both. I added this to my project.xml
hoping it would pick up both, but it doesn't seem to,,,
<aspectSourceDirectory>main/src/java</aspectSourceDirectory>
<aspectSourceDirectory>main/test/java</aspectSourceDirectory>
I'm kind of not confident I know the correct process, so may be doing
something really silly. I was thinking that the pregoal for compile to run
the aspectj compiler would apply my aspects to the code that they affect?
After running this though, my unit tests confirm that the aspect isn't
applied, and if I reverse engineer the test code, there is no aspect code in
there (and there is if I do a normal eclipse aspectj compile).
So, for some reason, its not applying my aspects to test code in the second
source tree... :(
Cheers,
Toby
--
View this message in context:
http://www.nabble.com/-M1--AspectJ-with-two-source-trees-tf2555836s177.html#a7122230
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]