ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject scripting
Date Fri, 23 Jun 2006 10:04:45 GMT

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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message