Paul Donaldson wrote:
Antoine/Peter - thank you for your replies.
I'm using Ant version 1.5.1.
I realise that is reasonably old. I've also noted that, with that version of
Ant, I should be using IBM's BSF rather than Apache's. However, I cannot
find an INM version of bsf.jar anywhere. Any links
(the same build
scripts are run on machines with Ant 1.5.1 and on machines with Ant 1.6.1).
Regards,
Paul
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: 24 April 2006 16:26
To: Ant Users List
Subject: Re: Script task not found
Which version of ant are you usi
Ant 1.5 is quite old. You should be using ant 1.6.5
Between ant 1.5 and ant 1.6, the provider of bsf moved
from IBM to apache, and this meant that the package
names changed. Thus, you are using an incorrect
version of bsf for ant 1.5.
The current correct combination is:
*ant 1.6.5
*bsf *(Note*
Which version of ant are you using ?
optional.jar existed in ant up to ant 1.5.x.
in ant 1.6.x, there is a file ant-apache-bsf.jar which contains the
implementation on the ant side of scripting tasks and functionality.
Also you normally do not need to taskdef script in ant 1.6.x and ant
1.5.x
Hello,
I need to perform some simple arithmetic on the contents of a string. I have
read that the Script task is suitable for this purpose.
I define my task as:
But I keep getting the message:
file:build.xml:5: taskdef class
org.apache.tools.ant.taskdefs.optional.Script cannot be found
I can s