ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: Did i reinvent the wheel with greaterthan?
Date Thu, 12 Oct 2006 22:08:38 GMT
On 10/12/06, Scot P. Floess <> wrote:
> Honestly, I've done something similar...  However, my approach was to
> subtract the two numbers and if examine the 1st character to determine
> <, > or =...  a "-" means less than, "0" means equal otherwise its
> greater than.
> I couldn't find exactly what I wanted either...that's why I "rolled my own"

FTR, this is precisely when one should be leaving the realm of pure
Ant, and write a little <script> using any one of the true scripting
languages one can leverage from within the build file. I find the
<ac:math> task a bit 'ugly' personally ;-) --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message