ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53399] New: packagemapper maps full path when handleDirSep=true
Date Mon, 11 Jun 2012 18:29:14 GMT

          Priority: P2
            Bug ID: 53399
           Summary: packagemapper maps full path when handleDirSep=true
          Severity: regression
    Classification: Unclassified
                OS: All
          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.


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

1.8.2: a/b/c/ -> c.Foo (correct)
1.8.3: a/b/c/ -> 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.

View raw message