From e5b03a774187dd052b2044b71c9371068d7b8875 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 1 Oct 2024 16:56:37 -0700 Subject: [PATCH] Second attempt to fix spring-boot-smoke-test-ant Fix error introduced in commit d44e7c9af2 See gh-42333 --- .../spring-boot-smoke-test-ant/build.gradle | 1 + .../spring-boot-smoke-test-ant/build.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle index 26a99e95d3..f8ca6bf98f 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle @@ -54,6 +54,7 @@ task copyAntSources(type: Copy) { } task antRun(type: JavaExec) { + workingDir "${buildDir}/ant" dependsOn syncTestRepository, copyAntSources, configurations.antDependencies classpath = configurations.antDependencies; mainClass = "org.apache.tools.ant.launch.Launcher" diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml index 644c07ef61..dda18675ea 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml @@ -11,7 +11,7 @@ actual jars). Run with '$ java -jar target/*.jar'. - +