You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2020/09/30 17:35:12 UTC

[Bug 64782] New: allow task attribute names to contain periods

https://bz.apache.org/bugzilla/show_bug.cgi?id=64782

            Bug ID: 64782
           Summary: allow task attribute names to contain periods
           Product: Ant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: gunpolishing369@cbfiddle.com
  Target Milestone: ---

In converting a macro to a custom task, I faced a problem that the arguments to
the macro had names containing periods. I wanted to maintain compatibility and
support the same names as task attributes. Although it may be possible to
support such attributes using the not-very-well-documented DynamicAttribute
feature, it would be more convenient and consistent to generalize the mapping
from attribute name to task method name. The task method names do not need to
be pretty. It could be something like setMain_DOT_class for the attribute
"main.class".

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