ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibuserAnt <hadd...@gmail.com>
Subject Cannot use Antelope tasks into my build file: PLEASE HELP!
Date Mon, 24 Jan 2011 08:53:50 GMT

Hi all,

Sorry i'm new to ant. I'm trying to compare 2 integers. I use:

<if>
    <bool>
           <isgreaterthan arg1="${int1}" arg2="${int1}" />
    </bool>
    <property name="result.compare" value="true" />
    <else>
           <property name="result.compare" value="false" />
    </else>
</if>

Bu i'm getting the error:
if doesn't support the nested "bool" element.

and when I add the taskdef:
<taskdef name="if" classname="ise.antelope.tasks.IfTask"/>

I have the error message:
taskdef class ise.antelope.tasks.IfTask cannot be found using the
classloader AntClassLoader[]

How can I use this task into my ant build file please?

thank you for your answer!

S+
-- 
View this message in context: http://ant.1045680.n5.nabble.com/Cannot-use-Antelope-tasks-into-my-build-file-PLEASE-HELP-tp3354377p3354377.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message