Could you provide the ant -debug output to see where the stack trace is
coming from?
Thanks,
Erik
----- Original Message -----
From: "Edward Nesterov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>