That's what I've done, and it works fine for me, as demonstrated by the few <script language="JavaScript"/> I've posted. Could be you have the wrong bsf.jar (moved to Jakarta recently. Where did you get yours?) or js.jar.
You could also run in -debug mode, and inspect the messages where it says loading this class from this location. --DD -----Original Message----- From: Naresh Bhatia [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:04 PM To: Ant Users List Subject: RE: Deriving new properties based on existing properties I am running into a problem trying to run the <script> task. Ant is not finding it. I have optional.jar, bsf.jar and js.jar in the Ant lib directory. I am using Ant 1.5.1. Any ideas what could be the problem? The error message is: Could not create task or type of type: script Thanks. Naresh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
