ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: AW: is there a Task to comapre two numbers?
Date Fri, 12 Dec 2008 14:17:42 GMT

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.mahmoudi@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.Fernandez@sas.com]
> Gesendet: Freitag, 12. Dezember 2008 14:59
> An: Ant Users List; ghadi.mahmoudi@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.mahmoudi@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.mahmoudi@cosens.de>
>>> ghadi.mahmoudi@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@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

Mime
View raw message