On 2009-12-08, Harry_ <harjitwo...@gmail.com> wrote: > It is working fine on 1.7.1... Does ant support this task as core task by > default in 1.7.1 as I do not have js.jar on machine having 1.7.1.
The script task in Ant 1.6.5 uses Apache BSF as its sole scripting engine, with Ant 1.7.x we added support for javax.script which ships with Java 1.6. You are most probably running Java 6 which includes a version of rhino and thus have all external dependencies needed by your script task for Ant 1.7.1. For Ant 1.6.5 you will need Apache BSF (2.x) in addition to js.jar. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org