From ce83d9e0c7e79e9b8ca33bf427d7dd3f2c802dfd Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Sat, 9 Dec 2006 15:28:19 +0000 Subject: [PATCH] update for script (partial) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@484998 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/conditions.html | 37 ++++++++++++++++++++++++++- docs/manual/install.html | 21 +++++++++++---- 2 files changed, 52 insertions(+), 6 deletions(-) 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. script language Yes + + manager + + The script engine manager to use. + See the script task + for using this attribute. + + No - default is "auto" + value default boolean value @@ -497,8 +506,34 @@ an explanation of scripts and dependencies. src filename of script source No - + + + setbeans + whether to have all properties, references and targets as + global variables in the script. + No, default is "true". + + + classpath + + The classpath to pass into the script. + + No + + + classpathref + The classpath to use, given as a + reference to a path defined elsewhere. + No + +
Parameters specified as nested elements
+
classpath
+

+ See the script task + for using this nested element. +

+
Description

The script supports script language inline, this script has access to the same beans as the <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 +

+ 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. +

+ 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
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). + versions of BSF (e.g. version 2.4.0) work with 1.5R4 and higher). http://www.mozilla.org/rhino/