ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EXT / FOCAL MALAPRADE Roland <ext.focal.malapr...@sncf.fr>
Subject How to define new condition ?
Date Wed, 09 Oct 2002 17:24:03 GMT
I've written a custom condition (implementing
org.apache.tools.ant.taskdefs.condition.Condition)

how do I use it in Ant? (I'm not talking about sticking the jar in
%ANT_HOME%/lib)

I tried declaring it with a taskdef, but it doesn't work obviously (it's not
a task).

do I need to add a "addMyCondition(MyCondition c)" to ConditionBase and
recompile Ant?

or is there a way to declare it in the build.xml?

Roland.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message