diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index 46a097bf9..9892d807b 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -488,6 +488,15 @@ an explanation of scripts and dependencies.
+ See the script task + for using this nested element. +
+
The script supports script language inline, this script has access to the
same beans as the
+ Note: Ant 1.6 and later require Apache BSF, not
+ the IBM version. I.e. you need BSF 2.3.0-rc1 or later.
+
+ Note: BSF 2.4.0 is needed to use a post 1.5R3 version
+ of rhino's javascript.
+
+ Note: BSF 2.4.0 uses jakarata-commons-logging
+ so it needs the commons-logging.jar.
+ <script>
task, and to the
diff --git a/docs/manual/install.html b/docs/manual/install.html
index 073505a1b..7373d48de 100644
--- a/docs/manual/install.html
+++ b/docs/manual/install.html
@@ -600,10 +600,21 @@ you need jakarta-oro 2.0.8 or later, and commons-net<
http://www.antlr.org/
-
bsf.jar
- script task
+
- Note: Ant 1.6 and later require Apache BSF, not
- the IBM version. I.e. you need BSF 2.3.0-rc1 or later.bsf.jar
+ script task
+
http://jakarta.apache.org/bsf/
@@ -636,7 +647,7 @@ you need jakarta-oro 2.0.8 or later, and commons-net<
js.jar
Javascript with script task
+ versions of BSF (e.g. version 2.4.0) work with 1.5R4 and higher).
If you use Apache BSF 2.3.0-rc1, you must use rhino 1.5R3 (later
- versions of BSF work with 1.5R4 as well).http://www.mozilla.org/rhino/