I had a need for this some time ago. I used AntContrib's "math" and "if" tasks. What I did was subtract numbers and if I saw the presence of a minus, less than, "0" equals otherwise greater than...

I do have some examples if you are interested...macro defs I mean...

On Fri, 12 Dec 2008, Ghadi Mahmoudi wrote:

Thanks,
But  could find only "equlas"! What about < and > comparisons?

M.Sc. Ghadi Mahmoudi
System Engineer


COSENS GmbH
Lerchenkamp 11
31137 Hildesheim
Tel.: +49 5121 17750-43
Fax: +49 5121 17750-49
E-Mail: ghadi.mahmo...@cosens.de
www.cosens.de

Sitz der Gesellschaft: Hildesheim
Handelsregister: Amtsgericht Hildesheim HRB 3620
Geschäftsführer: Dr. Hamed Amor



-----Ursprüngliche Nachricht-----
Von: Alec Fernandez [mailto:alec.fernan...@sas.com]
Gesendet: Freitag, 12. Dezember 2008 14:59
An: Ant Users List; ghadi.mahmo...@cosens.de
Betreff: RE: is there a Task to comapre two numbers?


look in the manual at the condition task (specifically click on
"supported conditions")

-----Original Message-----
From: Ghadi Mahmoudi [mailto:ghadi.mahmo...@cosens.de]
Sent: Friday, December 12, 2008 2:57 PM
To: user@ant.apache.org
Subject: is there a Task to comapre two numbers?

Hello,

Is there alread a Task, which is able to compare two (integer)
numbers (>, < or ==).

thanks,

Ghadi


M.Sc. Ghadi Mahmoudi
System Engineer


COSENS GmbH
Lerchenkamp 11
31137 Hildesheim
Tel.: +49 5121 17750-43
Fax: +49 5121 17750-49
E-Mail:  <mailto:ghadi.ghadi.mahmo...@cosens.de>
ghadi.mahmo...@cosens.de
 <http://www.cosens.de/> www.cosens.de

Sitz der Gesellschaft: Hildesheim
Handelsregister: Amtsgericht Hildesheim HRB 3620
Geschäftsführer: Dr. Hamed Amor



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


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



Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to