ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artur Rataj <arturra...@gmail.com>
Subject How to distinguish build/clean and build within ant task
Date Fri, 26 Jun 2009 09:49:56 GMT
Hello, I have asked this question on netbeans-users, but got no answer.

I have a java task

       <java classname="..." failonerror="true">
            <classpath>
                <pathelement location="..."/>
            </classpath>
            <arg value="-v" />
            <arg value="-t" />
            ...
        </java>

I would like to include or exclude tags, depending on the main task.

In this task, I would like to include the option -t only for netbeans'
build task, and not for
netbean's clean/build task. If possible, how could I do it?

Best regards,
Artur

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


Mime
View raw message