ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Cummings" <kevin.cummi...@mongoosetech.com>
Subject RE: anyone know how to use the script tag??
Date Thu, 28 Jun 2001 20:08:22 GMT
Well, I found the bsf.jar file and added it to my lib directory (would
have been nice to know I needed that), but now I'm getting the following
error..

C:\Documents and Settings\kevinrc\Desktop\replaceTest\replaceTask.xml:4:
java.lang.NoClassDefFoundError: org/mozilla/jav
ascript/JavaScriptException
--- Nested Exception ---
java.lang.NoClassDefFoundError:
org/mozilla/javascript/JavaScriptException
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at
com.ibm.bsf.BSFManager.loadScriptingEngine(BSFManager.java:316)
        at com.ibm.bsf.BSFManager.exec(BSFManager.java:478)
        at
org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:109)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

Any ideas??

Thanks,
-- Kevin


Mime
View raw message