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

           Summary: Property substitution in target name
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]


example:
<target name="${ant.project.name} : COMPILE">
</target>


This task outputs:

"${ant.project.name} : COMPILE"

instead of

"ProjectName : COMPILE".


I've tried with ant 1.7.1 and 1.8.1 and I'm not sure if this is the expected
functionality, I suppose it's good that it doesn't change the name of the
target.

I suggest adding a "message" attribute to the <target> element, that would be
printed to the console instead of the tharget's name. It would provide for more
comprehensible output instead of a generic task invocation's name.

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

Reply via email to