From 364fc015253b0019412fefff31e935d64174d015 Mon Sep 17 00:00:00 2001
From: Peter Reilly
- 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.
- NB: This classpath cannot (currently) be used to specify the location of
- the BSF jar file.
+ NB: 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.
<classpath>
element.