ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludwig, Michael" <>
Subject RE: Executing javascript ant task with jdk 1.6
Date Mon, 15 Nov 2010 13:34:21 GMT
> I tried your solution but still the same error is coming. I removed
> bsf.jar and js.jar from classpath and put "rt.jar" from JDK6 in
> classpath as this jar contains "org.mozilla.javascript" package and
> tried to test but still same error .

No need to put rt.jar on the classpath - it is there by default.

Can you post the output from the following script?

<!-- <echoproperties prefix="java"/> -->
<echoproperties prefix="ant"/>
<macrodef name="printpath">
<attribute name="p"/>
<fileset dir="@{p}" includes="**/*.jar" id="jars.from.@{p}"/>
<pathconvert refid="jars.from.@{p}" pathsep="${line.separator}"
<printpath p="${user.home}/.ant/lib"/>
<printpath p="${ant.library.dir}"/>
<script language="javascript">


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message