You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/02/27 00:33:22 UTC

DO NOT REPLY [Bug 17457] New: - make target name accessable inside the local target

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17457>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17457

make target name accessable inside the local target

           Summary: make target name accessable inside the local target
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: halesm@hotmail.com


It would be nice if we could access the target name inside the target element. 
Especially in the case where i am writing Canoo Webtest test cases.  For example : 

<target name="Login Test">
    <echo message="Now testing ${target.name}"/>
    <canooWebtest name="${target.name}">
        ....
    </canooWebtest>
</target>

This would be very helpful!