This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 29c80e8251 Use mvnw.cmd on Windows to launch Performance test
29c80e8251 is described below
commit 29c80e82516a62f78aa8e5ca639212a72974b34f
Author: Aurélien Pupier <[email protected]>
AuthorDate: Thu Jan 8 16:03:01 2026 +0100
Use mvnw.cmd on Windows to launch Performance test
fixes #8117
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../apache/camel/quarkus/performance/regression/MvnwCmdHelper.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java
b/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java
index e0aa74ae25..fb480275d1 100644
---
a/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java
+++
b/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java
@@ -30,6 +30,7 @@ import org.apache.commons.exec.environment.EnvironmentUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.io.output.ByteArrayOutputStream;
import org.apache.commons.io.output.TeeOutputStream;
+import org.apache.commons.lang3.SystemUtils;
import org.jboss.logging.Logger;
public class MvnwCmdHelper {
@@ -43,7 +44,8 @@ public class MvnwCmdHelper {
TeeOutputStream teeOutputStream = null;
try {
- File mvnwFile = cqVersionUnderTestFolder.resolve("mvnw").toFile();
+ String mvnWrapperExecutableName = SystemUtils.IS_OS_WINDOWS ?
"mvnw.cmd" : "mvnw";
+ File mvnwFile =
cqVersionUnderTestFolder.resolve(mvnWrapperExecutableName).toFile();
CommandLine cmd = CommandLine.parse(mvnwFile.getAbsolutePath() + "
" + args);
stdoutAndStderrMemoryStream = new ByteArrayOutputStream();