On Fri, 29 Jun 2001 06:22, Bevan Arps wrote:
> Peter Donald wrote:
> > (1) will allow you to resue same target but pass in different properties
> > each time. Effectively treating the target as a method. This will
> > probably go away in Ant2.
>
> !!!!
>
> ... and be replaced by ???
>
> The ability to factor out common steps from different tasks for ease of
> maintenance and documentation seems to be an essential feature for Ant.
>
> So, my question is - if AntCall w/Parameters, how am I to retain the
> current structure in my build files?
>
> [ If it is useful, I'm willing to send a couple of my build files to the
> list for comment ]

Well different pepole want to replace it with different things ;) They 
strategy I will implement is having a separate rules or template file. This 
rule/template file would contain all the reusable bits and just operate on 
the "data" present in base build file. Others believe that making ant a fully 
fledged procedural scripting language is the answer.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Reply via email to