You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carsten Krebs (JIRA)" <ji...@codehaus.org> on 2007/06/08 16:25:58 UTC
[jira] Created: (MPMD-57) cpd: wrong symlink detection if relative
source path is used
cpd: wrong symlink detection if relative source path is used
------------------------------------------------------------
Key: MPMD-57
URL: http://jira.codehaus.org/browse/MPMD-57
Project: Maven 2.x PMD Plugin
Issue Type: Bug
Affects Versions: 2.2
Reporter: Carsten Krebs
When specifying relative paths as source directory, i.e.
<sourceDirectory>../../main/src/java</sourceDirectory>
pmd:cpd detects misleadingly all source files in there as "symbolic links" and skips them:
Skipping /opt/gd/project/../../main/src/foo/MyClass.java since it appears to be a symlink
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MPMD-57) cpd: wrong symlink detection if relative
source path is used
Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPMD-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp closed MPMD-57.
---------------------------
Resolution: Fixed
Fix Version/s: 2.3
> cpd: wrong symlink detection if relative source path is used
> ------------------------------------------------------------
>
> Key: MPMD-57
> URL: http://jira.codehaus.org/browse/MPMD-57
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Carsten Krebs
> Fix For: 2.3
>
>
> When specifying relative paths as source directory, i.e.
> <sourceDirectory>../../main/src/java</sourceDirectory>
> pmd:cpd detects misleadingly all source files in there as "symbolic links" and skips them:
> Skipping /opt/gd/project/../../main/src/foo/MyClass.java since it appears to be a symlink
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPMD-57) cpd: wrong symlink detection if
relative source path is used
Posted by "Xavier Le Vourch (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPMD-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115429 ]
Xavier Le Vourch commented on MPMD-57:
--------------------------------------
This is fixed with the update to pmd 4.1 and the current maven-pmd-plugin-2.3-SNAPSHOT.jar does not have this problem.
> cpd: wrong symlink detection if relative source path is used
> ------------------------------------------------------------
>
> Key: MPMD-57
> URL: http://jira.codehaus.org/browse/MPMD-57
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Carsten Krebs
>
> When specifying relative paths as source directory, i.e.
> <sourceDirectory>../../main/src/java</sourceDirectory>
> pmd:cpd detects misleadingly all source files in there as "symbolic links" and skips them:
> Skipping /opt/gd/project/../../main/src/foo/MyClass.java since it appears to be a symlink
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira