ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Java task and classpath definition.
Date Tue, 19 Mar 2002 20:55:02 GMT
Could you provide the ant -debug output to see where the stack trace is
coming from?

Thanks,
    Erik


----- Original Message -----
From: "Edward Nesterov" <edn@quadrix.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, March 19, 2002 3:09 PM
Subject: Java task and classpath definition.


> Hi everybody,
> I am trying to run simple java task:
>
>    <target name="run-test" depends="compile">
>      <java classname="qvm.jms.QvmTestDriver">
>        <classpath>
>          <pathelement location="${classes.location}"/>
>          <fileset dir="${lib.location}">
>            <include name="**/*.jar"/>
>          </fileset>
>        </classpath>
>      </java>
>    </target>
>
> and keep getting the following output:
>    Buildfile: build.xml
>    init:
>    compile:
>    run-test:
>    BUILD FAILED
>    /opt/home/edn/build.xml:44: java.lang.ArrayIndexOutOfBoundsException
>
> When I remove <fileset> element from classpath it works.
>
> Could anybody tell me what I am doing in the wrong way.
>
> Thanks in advance.
>
> Ed.
>
>
> --
> 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