ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: local properties
Date Wed, 12 Jan 2005 18:40:51 GMT
Alexey N. Solofnenko wrote:

> It does not say "local" anywhere. Should it be <define-local>?

The "define" element does not create a local property, all it does
is generate a value for an attribute. This value can be used for any
purpose that the macro author may think of. The value is constructed
so that a different value will be made each time the attribute is created.
This means that it may be used as a property name to make a unique
property name each time the macro is run.

I was thinking of doing
<attribute name="x" genvalue="yes"/>

or
<genvalue name="x"/>


but
<define> is also good (with a good manual entry).

Peter

>
> - Alexey.
>
> Peter Reilly wrote:
>
>> I can do that.
>> Is "define" a good name ?
>>
>>
>> Peter
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message