ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50259] New: Property substitution in target name
Date Fri, 12 Nov 2010 00:45:25 GMT
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: notifications@ant.apache.org
        ReportedBy: Paul@UnnService.com


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.

Mime
View raw message