summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index c148105d0..9945d71d1 100644
--- a/build.xml
+++ b/build.xml
@@ -213,13 +213,19 @@
</selector>
<selector id="needs.junit.engine.vintage">
- <!-- we need JUnit vintage engine only in tests where we test the junitlauncher task -->
- <filename name="${src.junit}/org/apache/tools/ant/taskdefs/optional/junitlauncher/**/*"/>
+ <or>
+ <!-- we need JUnit vintage engine only in tests where we test the junitlauncher task -->
+ <filename name="${optional.package}/junitlauncher/**/*"/>
+ <filename name="org/example/junitlauncher/vintage/**/*"/>
+ </or>
</selector>
<selector id="needs.junit.engine.jupiter">
- <!-- we need JUnit jupiter engine only in tests where we test the junitlauncher task -->
- <filename name="${src.junit}/org/apache/tools/ant/taskdefs/optional/junitlauncher/**/*"/>
+ <or>
+ <!-- we need JUnit jupiter engine only in tests where we test the junitlauncher task -->
+ <filename name="${optional.package}/junitlauncher/**/*"/>
+ <filename name="org/example/junitlauncher/jupiter/**/*"/>
+ </or>
</selector>
<selector id="needs.apache-regexp">