ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9000] New: - Task script depends on rhino class
Date Sat, 11 May 2002 20:40:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9000>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9000

Task script depends on rhino class

           Summary: Task script depends on rhino class
           Product: Ant
           Version: 1.5Beta1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: lothar.hegebart@naiads.org


Hi,

i was trying to use Diane's nice script in http://www.mail-archive.com/ant-
user@jakarta.apache.org/msg15554.html and tripped.
As is described in the documentation for 1.5b1 one has to include bsf.jar for 
the script task, but then a class is not found. i guess there exists some 
dependency on rhino-classes. as with rhino (which includes the missing .class-
file) it works fine.

BUILD FAILED
R:\Development\anttest\src\testproject\build.xml:152: 
java.lang.NoClassDefFoundError: org/mozilla/javascript/JavaScriptException
        at org.apache.tools.ant.taskdefs.optional.Script.execute
(Script.java:133)
        at org.apache.tools.ant.Task.perform(Task.java:313)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
        at org.apache.tools.ant.Main.runBuild(Main.java:605)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)
--- 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:122)
        at org.apache.tools.ant.Task.perform(Task.java:313)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
        at org.apache.tools.ant.Main.runBuild(Main.java:605)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message