ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Nesterov <...@quadrix.com>
Subject Java task and classpath definition.
Date Tue, 19 Mar 2002 20:09:04 GMT
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>


Mime
View raw message