Thanks Dominique - you nailed it. I had the wrong bsf (version 2.3 form Jakarta). Ant 1.5.1 expects the older bsf 2.2 from IBM where package names start with com.ibm. The version from Jakarta has changed the package names to org.apache.
Naresh -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 4:15 PM To: 'Ant Users List' Subject: RE: Deriving new properties based on existing properties 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
