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=22227>.
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=22227
available task should support references IMO
Summary: available task should support references IMO
Product: Ant
Version: 1.6Alpha (nightly)
Platform: All
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: gudnabrsam@yahoo.com
<available> should support a "referenceid" attribute, accompanied by
optional "instanceof" and "elementtype" attributes. This would be particularly
useful for targets called via <antcall>, in which references may or may not
have been passed.
<!--reference only, simple enough-->
<available property="xavailable" referenceid="x" />
<!--fairly self-explanatory-->
<available property="xotheravailable" referenceid="x"
instanceof="some.user.defined.Type" />
<!--this one is maybe a little more involved...but I think it is doable
querying the project's ComponentHelper for the specified elementtype, and
verifying we are an instance of the returned class.-->
<available property="xpathavailable" referenceid="x" elementtype="path" />
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|