ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Script task not working
Date Wed, 09 Dec 2009 09:35:02 GMT
On 2009-12-08, Harry_ <harjitworks@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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message