absolute paths are not necessarily canonical

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-07-25 07:05:38 +00:00
parent 121ba5a2c7
commit 94416141f3
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
<th width="75">Errors</th>
</tr>
<j:set var="fullSrcDir" value="${pom.build.sourceDirectory}"/>
<j:set var="srcDir" value="${fileutil.file(fullSrcDir).getAbsolutePath()}"/>
<j:set var="srcDir" value="${fileutil.file(fullSrcDir).getCanonicalPath()}"/>
<j:set var="srcDirLength" value="${srcDir.length() + 1}"/>
<x:set var="files" select="file" sort="@name"/>
<!-- x:forEach is busted -->

View File

@ -53,7 +53,7 @@
<th>Violations</th>
</tr>
<j:set var="fullSrcDir" value="${pom.build.sourceDirectory}"/>
<j:set var="srcDir" value="${fileutil.file(fullSrcDir).getAbsolutePath()}"/>
<j:set var="srcDir" value="${fileutil.file(fullSrcDir).getCanonicalPath()}"/>
<j:set var="srcDirLength" value="${srcDir.length() + 1}"/>
<x:set var="files" select="file"/>
<!-- x:forEach is busted -->