ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: attribute name with dash
Date Tue, 07 Sep 2010 04:16:14 GMT
On 2010-09-06, Benjamin de Dardel wrote:

> Is it possible to define attribute name with dash ?

Not with Ant's built-in reflection logic.  Any attribute can only
consist of characters leagl inside a Java method name.

You can define attributes with a dash when you implement or DynamicAttributeNS in which
case your setDynamicAttribute method will get invoked for any attribute
that does not directly map to a setter method.


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

View raw message