-
Notifications
You must be signed in to change notification settings - Fork 36
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
Aspectj dumps ajcore.txt files when applying allure-gradle plugin in project with spring-boot #87
Comments
Hi! Yesterday I had the same problem. Next decision helped me:
|
@ArRomanov , hi! Thanks for an advice, but still some questions anyway:
|
I can't give answers to you, sorry. Need to try ¯\(ツ)/¯. But there is one more idea - add flag |
we are having same issue reported here after update allure to 2.17.3 and spring boot to 2.6.6 |
Ping to creators of library - any updates/progress news? |
у меня такая же ошибка, ты победил ее? |
quick fix
|
For me this didnt help, and if use as src/main/resources/META-INF/aop-ajc.xm | src/main/resources/META-INF/aop.xm And src/test/resources/META-INF/aop.xml |
Please try to push @a.eroshenko in tg community https://t.me/allure_ru, he ignored me for past fe2 years with this trouble. |
We can avoid dumping any aspectj dumps by something like this:
|
I've recently met the same problem with ajcore dumps and steps absence in Allure report for SpringBootTest <!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">
<aspectj>
<aspects>
<include within="io.qameta.allure..*" />
</aspects>
</aspectj> |
@ponamorev thank you for the help, it works but now but some errors appear in the log like below, any idea?
|
I'm submitting a ...
What is the current behavior?
When debug tests at local machine files generates at project root directory.
If configure allure, its didnt helped.
Set javaagent to aspectjweaver didnt help too.
If remove allure-gradle plugin, dumps will not generates anymore.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
https://github.com/pshakhov/allure-spring-example
What is the expected behavior?
Aspectj should not dumping annoying files while tests running.
What is the motivation / use case for changing the behavior?
When debug tests at local machine files generates at project root directory. Its can be added to changes accidentially.
Please tell us about your environment:
Other information
spring-projects/spring-framework#27650
jacoco/jacoco#909
eclipse-aspectj/aspectj#68
https://github.com/spring-projects/spring-boot/blob/b403877cc1de1c356e7a416ae1ae0620b87b99c5/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DataSourceBuilder.java#L641
Sorry for my perfect english.
The text was updated successfully, but these errors were encountered: