Re: numerical comparison of properties.

2006-09-18 Thread Scot P. Floess
You -could- use the ant contrib task and subtract the numbers...if the value starts with a "-" its less, "0" equal else greater... something like: = "${VAR2}/> [EMAIL PROTECTED] wrote: Hello, I would like to have a target compare two properties and set a third property with the value of

Re: numerical comparison of properties.

2006-09-18 Thread Dominique Devienne
The problem seems to trivial to write my own task. Right. This is best handled using a

numerical comparison of properties.

2006-09-18 Thread lists
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 -