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
org.apache.tools.ant.DynamicAttribute or DynamicAttributeNS in which
case your setDynamicAttribute method will get invoked for any attribute
that does not directly map to a setter method.

Stefan

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

Reply via email to