-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-aspectpath of external library(post compile weaving) #1110
Comments
Your gradle configuration looks good to me. (Manually creating the Could you run the build with |
I encountered the same issue. Did you solve it? |
I have the same error after upgrade to v8.11 |
Can someone of you provide an example project which I can use to debug this? |
Reproduced on the latest versions: It is enough to have like this:
I believe that I'm not sure if it is bug in user's lib or aspectj, it's up to you. |
I was able to reproduce it. Apparently, the AspectJ compiler does not like it, if you feed itself into its aspectpath. On the one hand, I'd argue that it makes no sense to have aspectjtools.jar on the aspectpath or as an dependency of an aspect. But on the other hand, it's a bug in AspectJ to fail - this spectacularly - on this. An aspect only needs to depend on aspectjrt, but not on aspectjtools or aspectweaver. I'd suggest removing aspectjtools from the aspect path |
Hello, i am using io.freefair.aspectj.post-compile-weaving. When i have aspectj directory (with the aspect class) in root of my project - everything ok, but i need weave aspect from external library with my project sources, so i have this build.gradle file :
aspect 'ru.vtb.smeg.lib:log-masker:1.3.1' - its my external library which contains aspect class and all nesessary dependencies like aspectjrt, aspectjtools, aspectweaver. But when i build my project, i have this error:
So how can i compile and weave aspect from external library taking into account that i need post compile weaving?
The text was updated successfully, but these errors were encountered: