Finally able to solve the problem. Yes, ant 1.6.5 can not work with JDK
1.6 as far as javascript ant task is concerned. This is because ant 1.6.5
supports
h.Launcher.main(Launcher.java:67)
org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine;
END=======
Regards
Mangesh Moghe
From:
"Ludwig, Michael"
To:
"Ant Users List"
Date:
11/15/2010 07:04 PM
Subject:
RE: Exe
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 R
details:
Ant : 1.6.5
JDK : 1.6
OS :HP 11.31 itanium
bsf.jar : 2.3.0
js.jar : 1.5R3
I have googeld for this error and came to know about bsf and js.jar but
even if i am using correct version of jars, still I am getting this error.
Please help me to resolve this error
Thanks and Regards
Mangesh