Skip to content

How do you exclude aspects with io.freefair.aspectj.post-compile-weaving? #471

Answered by larsgrefer
libertywork-agb asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think it's possible to exclude a specific class from being processed, because the whole compiler output directory (build/classes/java/main) is passed to ajc as -inpath.

You could try to move your Spring AOP aspect to a different subproject, which does not have the post-compile-weaving applied

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by libertywork-agb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants