ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: [PROPOSE] task parameters that are only supplied when a property is defined
Date Fri, 08 Mar 2002 22:32:18 GMT
----- Original Message -----
From: "Steve Cohen" <SteveC@ignitesports.com>

> I don't know what a "facade custom task" is but it sounds intriguing.  If
you could point me at an example, perhaps that would be the
> best interim solution.

Have a look at Get.java in Ant's source code.  Note how it uses
createTask("touch") - you could do the same thing by making a
<newstcheckout> task that essentially used did a createTask("stcheckout")
and set the attributes how you want, with the desired condition on 'label'.

    Erik



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


Mime
View raw message