When I try to execute this script under Ant 1.4.1 I get the following: caller.xml:3: java.lang.NullPointerException. It doesn't seem to like the creation of the parameter (ac.createParam() ). I have bsf 2.2 and rhino 1_5R2. Any help would be appreciated.
Thanks <project name="Tester" default="caller" basedir="."> <target name="caller"> <script language="javascript"> <![CDATA[ ac = Tester.createTask("antcall"); ac.setTarget("callee"); acparam=ac.createParam(); acparam.setName("param"); acparam.setValue("hi there"); ac.execute(); ]]> </script> </target> <target name="callee"> <echo>${param}</echo> </target> </project> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>