ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wascally Wabbit <>
Subject Re: ANT arithmetic operation task ?
Date Fri, 12 Dec 2003 14:48:48 GMT
At 09:00 AM 12/12/2003, you wrote:

That depends. If you want to do simple addition/subtraction
from an existing property and put the result into another
property, the <export> task from can
do that. It's a bit long-winded but you can do something like:

         <property name="start" value="100"/>
         <property name="delta" value="25"/>

         <export op="+" fromproperty="start" value="${delta}" 

The Wabbit

>Hi All,
>Is there any ANT task for simple arithmetic operations like
>addtion, substraction...and so.

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

View raw message