using recent Rhino in ant script
I'm trying to use a recent version of Rhino in an ant tag, but it seems to be using the version of Rhino that comes bundled with the JVM instead. I've tried adjusting the classpath to specify the Rhino script jar. Currently, I've tried the following: <project default="hello" name="hello-world" basedir="."> <target name="hello"> <script language="javascript"> <classpath> <pathelement location="js.jar"/> </classpath><![CDATA[ x=<hello><world/></hello> ]]></script> </target> </project> Notice the inclusion of E4X syntax in the script, which should work only work in Rhino from Mozilla, and not the