Stefan Bodewig wrote:
The doc does not mention it, but <scriptdef> inherits attributes from DefBase,On Mon, 28 Feb 2005, James Fuller <[EMAIL PROTECTED]> wrote:
- does scriptdef have namespace capability
I read in a comment on my blog that a user found the only way to place
a scriptdef'ed task into a namspace other than default was putting it
into an antlib. This feels wrong.
so the following works:
<scriptdef name="a" uri="a.b.c" language="beanshell">
<attribute name="attr"/>
self.log("Attribute attr1 = " + attributes.get("attr"));
</scriptdef>
<a xmlns="a.b.c" attr="b"/>
</target>
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]