So this would allow creating a filter, mapper, or other type
dynamically? Nice! Just a sanity check - there is no way to do this
with scripting stuff in 1.6.1 is there?
package org.apache.tools.ant.taskdefs.optional;
/**
* Class to define an ant definition using a script that
* can return a class that is a normal ant task/datatype.
* If the language is beanshell it must be 2.0 or higher.
* The other scripting currently known to work is
* groovy (1.0beta3).
* <p>
* Note that if there is anything incorrect with the script
* the warning message is quite cryptic.
* </p>
* This class is based in part on o.a.t.ant.util.ScriptRunner.
* The main difference is that it does not define
* beans. This is for three reasons:
* <ol>
* <li>The definition may be used in another project.</li>
* <li>It should be possible to convert to java later.</li>
And the third reason is? :)
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]