ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: How to use nested if in ant script?
Date Tue, 10 Mar 2009 06:39:54 GMT
>>> Use <groovy> ;)
>> That brings me to ask: Does the new (?) <script> tag make ant-contrib
>> obsolete?
>It obsoletes any tasks that were trying to model programming language  
>concepts on to XML (eeck). If, foreach, and similar tasks fall into  
>this category.

I dont think that using <script> makes <ac:*> obsolete. Just think about
a bunch of nested tasks. 

    <available file="flagfile"/>
        <javac ...>
        <copy todir=.."><fileset ..><modified/></fileset></copy>

Writing with <script> could be more work ...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message