Hi,
I have looked through the archives for this, but I have'nt had any luck. Here is a portion of my build file, where I compile a set of tests and then run them from Ant using the <junit> tasks. <path id="junit.run.classpath"> <pathelement location="${BIN_DIR}"/> <pathelement location="${LIB_DIR}"/> <fileset dir="${LIB_DIR}"> <include name="**.jar"/> <include name="**.zip"/> </fileset> <pathelement location="${PROP_DIR}"/> </path> <target name="LOG_test" depends="LOG_compile"> <javac srcdir="${TEST_SOURCE_DIR}" destdir="${BIN_DIR}"> <patternset refid="log.pattern"/> <classpath> <path refid="javac.test.classpath"/> </classpath> </javac> <junit fork="yes"> <classpath> <path refid="junit.run.classpath"/> </classpath> <formatter type="plain"/> <test name="xxx.xxx.xxx.LogTest"/> </junit> </target> The <junit> task does not pick up the nested classpath that I have defined. Has anyone else run into the same issue ? Thanks, Raju