ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48152] New: Task ManifestClassPath fail to find suitable relative path
Date Fri, 06 Nov 2009 11:29:06 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48152

           Summary: Task ManifestClassPath fail to find suitable relative
                    path
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: mirko.seifert@tu-dresden.de


When the ManifestClassPath task is used and the file set as 'jarfile' does not
share a common toplevel directory with of the paths an error (Can't find
suitable relative path to ...) is raised.

For example if jarfile is set to '/projects/projectXY/temp.jar' and one of the
paths is '/common/libs/libraryXY.jar' the error is raised.

I think this is a bug, since there is a suitable relative path, namely
'../../common/libs/libraryXY.jar'.

I'll attach a JUnit test case that reproduces the bug and contains some more
explaination.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message