ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azoulay, Zacky" <zacky.azou...@sapportals.com>
Subject RE: javascript and ant.
Date Tue, 16 Apr 2002 13:01:59 GMT
Thank,

i put the js.jar adnd it is working

regard zacky

-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: Tuesday, April 16, 2002 3:59 PM
To: Ant Users List
Subject: Re: javascript and ant.


Thomas Tuft Muller wrote:

> Zacky,
> 
> You must recompile Ant with the Bean Scripting Framework from IBM
> (http://www-124.ibm.com/developerworks/projects/bsf), and Mozilla
> implementation Rhino 1.5 R1 js.jar available from
> http://www.mozilla.org/rhino
> 
> In order to use it from an Ant project you must define the following task
> before you use it:
> 
> <taskdef name="script"
> classname="org.apache.tools.ant.taskdefs.optional.Script" />
> 


Thomas,

Actually you do not need to recompile Ant, nor do you need the taskdef.

Just drop the bsf and rhino jars in and away you go ...

Conor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message