Aspect update only does not result in weave
See original GitHub issueHi,
Thanks for the great plugin! I really like working with it.
I have a question though. When I only make some changes to an Aspect *.aj
, then the changes don’t get woven when I rebuild my app. The transformClassesWithAspectj*
task doesn’t get executed because it is marked UP-TO-DATE
.
My guess would be that this is because the transformClassesWithAspectj*
task has Java class files defined as an input. Since no Java source changed, no new Java class files were generated, as a result the transformClassesWithAspectj*
task is marked UP-TO-DATE
and skipped.
Is this correct? If so, what do you think is the fastest way to make sure the Aspect changes are applied? Running clean
before each assembleDebug|Release
run works, but makes the process quite slow.
Cheers,
Wijnand
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top GitHub Comments
That seems we need reopen this. Thank’s for your feedback!
Hi,
Sorry for the super late reply, I’m afraid though it’s not working yet.
When I only modify an Aspect in my project, I do see the “AspectJ sources compilation” output on the console, but not the output from “Augmentation with AspectJ transformer”.
I’m using v 3.0.0 with
weaveInfo true
.Cheers,
Wijnand