--- "Grinvald, Edward" <[EMAIL PROTECTED]> wrote:
> I'm trying to write a <script> in javascript that will make an
> antcall. [...] is tehre any way for me to set the <param> being
> passed to the target?
<target name="caller">
<script language="javascript"> <![CDATA[
ac = project.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>
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>