You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2006/12/13 00:39:42 UTC

svn commit: r486416 - /ant/core/trunk/docs/manual/OptionalTasks/script.html

Author: peterreilly
Date: Tue Dec 12 15:39:41 2006
New Revision: 486416

URL: http://svn.apache.org/viewvc?view=rev&rev=486416
Log:
document the issues with using script/classpath to load javascript implementation

Modified:
    ant/core/trunk/docs/manual/OptionalTasks/script.html

Modified: ant/core/trunk/docs/manual/OptionalTasks/script.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/script.html?view=diff&rev=486416&r1=486415&r2=486416
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/script.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/script.html Tue Dec 12 15:39:41 2006
@@ -134,14 +134,23 @@
   <a href="../using.html#path">path-like structure</a> and can also be set via a nested
   <code>&lt;classpath&gt;</code> element.
   <p>
-    If a classpath is set, it will be used as the current thread context classloader, and
-    as the classloader given to the BSF manager. This means that it can be used to specify
-    the classpath containing the language implementation. This can be usefull if one wants
-    to keep ${user.home}/.ant/lib free of lots of scripting language specific jar files.
+    If a classpath is set, it will be used as the current thread
+    context classloader, and
+    as the classloader given to the BSF manager. 
+    This means that it can be used to specify
+    the classpath containing the language implementation for BSF
+    or for JSR 223 managers.
+    This can be usefull if one wants
+    to keep ${user.home}/.ant/lib free of lots of scripting language
+    specific jar files.
   </p>
   <p>
-    <b>NB:</b> This classpath cannot (currently) be used to specify the location of
-    the BSF jar file.
+    <b>NB:</b> This classpath cannot (currently) be used to
+    specify the location of
+    the BSF jar file. Also, due to classloading issues, languages
+    that have engines in the BSF jar file cannot have the
+    implementation in the classpath element. This includes the
+    javascript, jython, netrexx and jacl languages.
   </p>
 </p>
 <h3>Examples</h3>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org