https://issues.apache.org/bugzilla/show_bug.cgi?id=53399

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

Reply via email to