Re: ant dependencies for javascript scriptdef

2010-10-24 Thread Niels Thykier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010-10-24 10:59, Eric Lavarde wrote: > Hello, > > On 22/10/10 23:57, Ximin Luo wrote: >> On 22/10/10 22:43, Ludovic Claude wrote: >>> It works probably because you are using Java 6, which is already >>> bundling rhino.jar and the scripting API.

Re: ant dependencies for javascript scriptdef

2010-10-24 Thread Eric Lavarde
Hello, On 22/10/10 23:57, Ximin Luo wrote: On 22/10/10 22:43, Ludovic Claude wrote: It works probably because you are using Java 6, which is already bundling rhino.jar and the scripting API. It would be better to keep an explicit dependency on rhino.jar, and you may need also bsf.jar for a Java

Re: ant dependencies for javascript scriptdef

2010-10-22 Thread Ximin Luo
On 22/10/10 22:43, Ludovic Claude wrote: > It works probably because you are using Java 6, which is already > bundling rhino.jar and the scripting API. It would be better to keep an > explicit dependency on rhino.jar, and you may need also bsf.jar for a > Java 5 runtime. Aaahh that makes sense now

ant dependencies for javascript scriptdef

2010-10-22 Thread Ximin Luo
Hi, does anyone know what the smallest dependency set for running ant tasks in javascript is? I know I need at least ant-optional for but [1] suggests that I also need js.jar from the rhino package. To test this, I moved js-1.7R2.jar out of /usr/share/java, but my build still ran fine with no er