Hi all,
Dunno where to file a bugreport, but it seems that I found a bug somewhere inside tcServer.
Please look here: http://forum.springsource.org/showthread.php?t=99778
Basically, the bug is that tcServer incorrectly picks up any sub-namespaces on AspectJ load-time-weaving, when the defined namespaces to look in does not include any sub-namespaces in aop.xml:
I.e.:
This will incorrectly weave classes in all sub-namespaces of foo (e.g. "foo.foobar.foocode...." etc.).Code:<weaver> <include within="foo.*"/> </weaver>
This should only be possible if the include path is written like this:
(Notice the ant-style syntax.) -- Took me a few days to figure out.... :-/Code:<weaver> <include within="foo..*"/> </weaver>
Best regards,
~Morten :-)


Reply With Quote
