o MAVEN-283: Use absolute paths for src / dest dir. Required for basedir's with .. in them
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112969 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -188,7 +188,11 @@
|
||||
|
||||
<!-- Generates the JSL files on the given srcdir attribute -->
|
||||
<define:tag name="performJSL">
|
||||
|
||||
<util:file var="srcdirFile" name="${srcdir}"/>
|
||||
<j:set var="srcdir" value="${srcdirFile.getCanonicalPath()}"/>
|
||||
<util:file var="destdirFile" name="${destdir}"/>
|
||||
<j:set var="destdir" value="${destdirFile.getCanonicalPath()}"/>
|
||||
|
||||
<util:replace var="fromPattern" oldChar="\" newChar="/" value="${srcdir}/*.xml"/>
|
||||
<util:replace var="toPattern" oldChar="\" newChar="/" value="${destdir}/*.html"/>
|
||||
<j:setProperties object="${mapper}" from="${fromPattern}" to="${toPattern}"/>
|
||||
|
||||
Reference in New Issue
Block a user