You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/17 02:51:28 UTC
[jira] Closed: (MPEAR-36) Case check fails when directories symlinked
Message:
The following issue has been closed.
Resolver: Felipe Leme
Date: Sun, 16 Jan 2005 8:50 PM
I'm removing the dependency checking, as it is causing too much hassle.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPEAR-36
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPEAR-36
Summary: Case check fails when directories symlinked
Type: Bug
Status: Closed
Priority: Major
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ear-plugin
Fix Fors:
1.7
Versions:
1.6
Assignee: Felipe Leme
Reporter: Martin West
Created: Sat, 15 Jan 2005 12:10 PM
Updated: Sun, 16 Jan 2005 8:50 PM
Environment: linux
Description:
The following test fails when the directory is symlinked, ie /work/maven -> /mnt/hdc2/work/maven
<j:if test="${!(checkFile.getAbsolutePath().equals(checkFile.getCanonicalPath()))}">
<ant:fail>Case-sensitive issue: The dependency ${dep.id} has a case problem. The dependency was either retrieved in the past with the wrong case or has been specified with the wrong case in your project.xml file. Fix your project.xml or update your local repository with the properly-cased file and try again.</ant:fail>
</j:if>
A safer test would be to do checkFile.getCanonicalPath().indexOf(checkFile.getAbsolutePath()) == '-1'
Also would be more imformative for the poor end user if the error message include what was being tested.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org