Having been doing some work documenting scripting recently, I want to note some current limitations with ant's script support.

<scriptdef>
-no automatic check for attributes/elements declared. The script code needs to do that themselves, which leads to...

-bad handling of BuildExceptions raised in scripts. This is because they get turned into the script-language-specific faults and then back out again, with the result that you get full stack traces.

-no expansion of properties in nested text

-no support for resource sources of scripts, such as things in JAR files. This stops you bundling scripts into antlibs

<scriptcondition>

-no way to pass in parameters to the condition

-no expansion of properties in nested text

-no support for resource sources of scripts, such as things in JAR files. This stops you bundling scripts into antlibs


I havent looked at the others yet...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to