This is an automated email from the ASF dual-hosted git repository. albumenj pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git
The following commit(s) were added to refs/heads/master by this push: new 609d867de Fix jacoco merger 609d867de is described below commit 609d867de3d86c461936b21e1a0a412a9c7ef1df Author: Albumen Kevin <jhq0...@gmail.com> AuthorDate: Fri Dec 6 20:40:35 2024 +0800 Fix jacoco merger --- .../src/main/java/org/apache/dubbo/test/JacocoReport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java b/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java index d6ac4e297..b2c54930d 100644 --- a/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java +++ b/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java @@ -55,9 +55,9 @@ public class JacocoReport { System.arraycopy(classes, 0, reportArgs, execs.length + 1, classes.length); System.arraycopy(sources, 0, reportArgs, execs.length + classes.length + 1, sources.length); reportArgs[execs.length + classes.length + sources.length + 1] = "--xml"; - reportArgs[execs.length + classes.length + sources.length + 2] = basePath + File.separator + "target" + File.separator + "report.xml"; + reportArgs[execs.length + classes.length + sources.length + 2] = classFile.getAbsolutePath() + File.separator + "target" + File.separator + "report.xml"; reportArgs[execs.length + classes.length + sources.length + 3] = "--html"; - reportArgs[execs.length + classes.length + sources.length + 4] = basePath + File.separator + "target" + File.separator + "site"; + reportArgs[execs.length + classes.length + sources.length + 4] = classFile.getAbsolutePath() + File.separator + "target" + File.separator + "site"; PrintWriter out = new PrintWriter(System.out, true); PrintWriter err = new PrintWriter(System.err, true); --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org