Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- 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: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-ear-plugin Versions: 1.6 Assignee: Reporter: Martin West Created: Sat, 15 Jan 2005 12:10 PM Updated: Sat, 15 Jan 2005 12:10 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
