On Mon, Apr 15, 2013 at 1:39 PM, Andy Clement <[email protected]>wrote:
> I presume the 'type not exposed to weaver' messages were for your types
> and not for JRE types?
>
That's correct.
> If we could distill down a simple scenario that displayed this problem, I
> am happy to debug into it.
>
Thanks. I have built a test case that demonstrates the problem (attached).
For some reason in my test case I'm not seeing the 'type not exposed to
weaver' message... however, I am seeing the actual problem, which is that
certain aspects are not getting woven.
I wrote a small script to verify expected weaving. On my system the build
failure then looks like this:
...
[iajc] info Compiler took 980ms
[touch] Creating
/Users/archie/bugs/aspectjweavebug/build/weaving.timestamp
[exec] Verifying @Transactional classes got woven with
AnnotationTransactionAspect...
[exec] Verifying @Transactional classes got woven with MyAspect...
[exec] Verifying @Configurable classes got woven with
AnnotationBeanConfigurerAspect...
[exec] Error: com/example/sub1/C contains @Configurable but did not
get woven with AnnotationBeanConfigurerAspect
[exec] Error: com/example/sub2/C contains @Configurable but did not
get woven with AnnotationBeanConfigurerAspect
[exec] Verifying @VaadinConfigurable classes got woven with
VaadinConfigurableAspect...
[exec] Error: com/example/D contains @VaadinConfigurable but did not
get woven with VaadinConfigurableAspect
[exec] Error: com/example/sub1/D contains @VaadinConfigurable but did
not get woven with VaadinConfigurableAspect
[exec] Error: com/example/sub2/D contains @VaadinConfigurable but did
not get woven with VaadinConfigurableAspect
[exec] Error: com/example/sub3/D contains @VaadinConfigurable but did
not get woven with VaadinConfigurableAspect
[exec] Error: com/example/sub4/D contains @VaadinConfigurable but did
not get woven with VaadinConfigurableAspect
Thanks,
-Archie
--
Archie L. Cobbs
aspectjweavebug.tgz
Description: GNU Zip compressed data
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
