aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 02453efb05..fb2e8ad613 100644
--- a/build.xml
+++ b/build.xml
@@ -849,7 +849,11 @@ under the License.
<local name="cp_java"/>
<pathconvert property="cp_java" pathsep=",">
<path><lib/></path>
- <regexpmapper from="^${basedir}[/\\](.*)$" to="\1/*.jar"/>
+ <filtermapper>
+ <replacestring from="${basedir}" to=""/>
+ <replaceregex pattern="^." replace=""/>
+ <suffixlines suffix="${file.separator}*.jar"/>
+ </filtermapper>
</pathconvert>
<local name="maven-name"/>
@@ -1106,7 +1110,11 @@ under the License.
<local name="cp_java"/>
<pathconvert property="cp_java" pathsep=",">
<path refid="@{modulepath-ref}"/>
- <regexpmapper from="^${basedir}[/\\](.*)$" to="\1/*.jar"/>
+ <filtermapper>
+ <replacestring from="${basedir}" to=""/>
+ <replaceregex pattern="^." replace=""/>
+ <suffixlines suffix="${file.separator}*.jar"/>
+ </filtermapper>
</pathconvert>
<jacoco:coverage enabled="${coverage.enabled}" excludes="${coverage.excludes}" destfile="@{jacocodest}">