I saw somewhere that Rhino is required for script task, but it actually
requires BSF. I do not use Rhino, but Jython. Maybe this is the reason.
- Alexey.
--
{ http://trelony.cjb.net/ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)
peter reilly wrote:
Some of the optional tasks will appear not to be
present if their required 3'rd party jars are
not present. In scriptdef's case, the jar needed
is bsf.jar (from jakarta http://jakarta.apache.org/bsf/ for 1.6) and it
should be in the same classloader as optional.jar (easiest is to place the
jars in ${ant.home}/lib).
Peter
On Wednesday 03 September 2003 06:10, [EMAIL PROTECTED] wrote:
Optional and core tasks are available by standard.
Ant uses the org/apache/tools/ant/taskdefs/default.properties in
%ant.home%/lib/ant.jar for "taskdefing" these tasks.
You donÂt have to <taskdef> that task, because this task is defined
near line 196
scriptdef=org.apache.tools.ant.taskdefs.optional.script.ScriptDef
Jan
-----Original Message-----
From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 4:00 AM
To: Ant Developers List
Subject: Why the latest build requires explicit <taskdef> for
<scriptdef>
Hello,
I have updated ANT from main branch and now I have to add
<taskdef name="scriptdef"
classname="org.apache.tools.ant.taskdefs.optional.script.ScriptDef"/>
in order to use <scriptdef> task. But the <taskdef> generates
"Trying to
override old definition of datatype scriptdef" warning. What
can be wrong?
- Alexey.
--
{ http://trelony.cjb.net/ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]