collegues to have javax.scripting in ant 1.7.0.
There are two options to specify javax.scripting
rather than bsf, have an extra attribute on the script
task:
<script language="javascript" engine="jsr">or use a prefix in the language tag:
print("hello world\n");
</script>
<script language="jsr:javascript">
print("hello world\n");
</script>
The nice thing is that with this, one can use
javascript scripting in ant with java6 *without* any configuration.
No comments:
Post a Comment