ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32488] - Improvement to 'spawn' attribute
Date Fri, 10 Dec 2004 15:36:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32488>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32488





------- Additional Comments From peterreilly@apache.org  2004-12-10 16:36 -------
I forgot about <apply>, I was only thinking about <exec>, but of cource there
are others..

As regards the antlib question, this should be on dev@ant.apache.org.
This sort of stuff would be possible with the follows small additions
to ant ;-)

1) allow any task to be run in the antlib
   (easy mod - initial implementation of antlib)
2) local properties - one would be set properties in an antlib
   without affecting the users of the antlib
3) have if and unless attributes for each task

<antlib>
   <local-property name="is.unix"/>
   <condition property="is.unix">
      <os family="unix"/>
   </condition>
   <typedef name="kill" classname="..UnixKiller" if="is.unix"/>
   <typedef name="kill" classname="..WindowKiller" unless="is.unix"/>
</antlib>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message