Thaks Erik,
I found an error.
The problem was in number of arguments of main function.
I was just confused with ant error message.
Thanks again.
Ed.
Erik Hatcher wrote:
> 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]>
>
>
>
--
Eduard Nesterov
Quadrix Solutions Inc.
(732) 2352335 ext 7014
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>