RE: Executing javascript ant task with jdk 1.6

2010-11-15 Thread Mangesh Moghe
Thanks for the info. I tried your solution but still the same error is coming. I removed bsf.jar and js.jar from classpath and put "rt.jar" from JDK6 in classpath as this jar contains "org.mozilla.javascript" package and tried to test but still same error . Thanks and Regards Mangesh Moghe Ma

RE: Executing javascript ant task with jdk 1.6

2010-11-15 Thread Ludwig, Michael
> I am executing a ant javascript task and while executing it I am > getting error java.lang.NoSuchMethodError: > org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine > ; > It was working fine with JDK 1.5 but it is giving error with JDK1.6 Sun JDK 1.

Executing javascript ant task with jdk 1.6

2010-11-15 Thread Mangesh Moghe
Hi, I am executing a ant javascript task and while executing it I am getting error java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine ; It was working fine with JDK 1.5 but it is giving error with JDK1.6 Below are det