try to fix windows builds - path issues with regex patterns

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-08-05 22:41:36 +00:00
parent a96baf1d45
commit fad42e3ed6
1 changed files with 10 additions and 2 deletions

View File

@ -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}">