[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ant dependencies for javascript scriptdef



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 5 runtime.

Aaahh that makes sense now. I would've never figured that out. Thanks!

X

but wouldn't it be best to have a dependency like (simplified):
	java6 | java5, java6 | rhino, java6 | bsf
?
Or vice-versa, but given the fact that java5 isn't part of Debian anymore, this direction seems best.

Of course, java6 and java5 should be replaced by the correct statement in regard to OpenJDK, Sun's Java, GCJ and/or default-jre...

Eric


Reply to: