ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53399] New: packagemapper maps full path when handleDirSep=true
Date Mon, 11 Jun 2012 18:29:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53399

          Priority: P2
            Bug ID: 53399
          Assignee: notifications@ant.apache.org
           Summary: packagemapper maps full path when handleDirSep=true
          Severity: regression
    Classification: Unclassified
                OS: All
          Reporter: maarten_coene@yahoo.com
          Hardware: All
            Status: NEW
           Version: 1.8.3
         Component: Core
           Product: Ant

When setting the handleDirSep attribute to 'true' on the <packagemapper>, the
full path is transformed into a package, while setting the attribute to
'false', only the '*'-portion of the path is mapped (new behaviour since 1.8.3)

Only the '*'-portion of the path should be handled by the mapper, so this
change will break many builds having the handleDirSep='true' property set.

Example:

<packagemapper from="/a/b/*.java" to="*" handledirsep="true"/>

1.8.2: a/b/c/Foo.java -> c.Foo (correct)
1.8.3: a/b/c/Foo.java -> a.b.c.Foo (incorrect)

The behavior when setting handleDirSep to 'false' is unchanged.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message