Sorry about the last message. I hit send by mistake.
I was trying to say that I was having trouble getting javascript to work
through Ant's Script and ScriptDef tasks, but then I found the notes on
library dependencies. It's a little cryptic. It says that if you are
using bsf-2.3.0-rc1 you must use rhino-1.5R3 but that later versions of
BSF work with rhino-1.5R4. As far as I can tell, there are no versions of
bsf after bsf-2.3.0-rc1.
In any case, installing bsf-2.3.0-rc1 and rhino-1.5R3 work, although the
example provided in the Ant manual under the Script task gives syntax
errors.
I was able to get it to work using the following code instead:
<target name="setup">
<script language="javascript"> <![CDATA[
for (i=1; i<=10; i++) {
echome = project.createTask("echo");
echome.log(i*i);
}
]]> </script>
</target>
[EMAIL PROTECTED]
02/17/2005 09:17 AM
Please respond to "Ant Users List"
To: [email protected]
cc:
Subject: Trouble getting script and scriptdef tasks to work
Hello,
I'm trying to get the