>>> 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
having 
a bunch of nested tasks. 

<ac:for>
    <available file="flagfile"/>
    <ac:then>
        <echo>then</then>
        <javac ...>
        <copy todir=.."><fileset ..><modified/></fileset></copy>
    </ac:then>
    <ac:else>
        <another-bunch-of-tasks/>
    </ac:else>
</ac:for>


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


Jan     

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to