ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit FormatterElement.java JUnitTask.java
Date Wed, 28 May 2003 14:31:16 GMT
On Wednesday 28 May 2003 15:04, Conor MacNeill wrote:
> On Wed, 28 May 2003 11:27 pm, Erik Hatcher wrote:
> > If folks feel strongly about it, I'll revert it.
>
> I'm not into strong feelings :-). Let's see what people think.
+1 to keep the if attribute

I use this all the time with cc:

    <compiler id="compiler.options">
        <compilerarg value="-ggdb" unless="optimize"/>
        <compilerarg value="-pthread" if="is.linux"/>
        <compilerarg value="-Wall"/>
        <compilerarg value="-Wstrict-prototypes"/>
        <compilerarg value="-O3" if="optimize"/>
        <compilerarg value="-mcpu=pentium4" if="linux"/>
    </compiler>

Peter

Mime
View raw message