You -could- use the ant contrib <math> task and subtract the numbers...if the value starts with a "-" its less, "0" equal else greater...

something like:

<match result = "COMPARE" operation = "-" operand1 = "${VAR1}" operand2 = "${VAR2}/>



[EMAIL PROTECTED] wrote:
Hello,

I would like to have a target compare two properties and set a third property with the value of the greater of the two.
I have looked in at ant contrib's tasks but haven't found it. The problem seems 
to trivial to write my own task.

thanks for help.

Jacques

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to