Home
Classpath problem
The classpath specified in the Java build path for the project is not available to the Ant process. If you are building a project that references another project, the classpath for the javac compiler must be set up in the following way:
<javac srcdir="${source}" destdir="${build}" includes="**/*.java"><classpath><pathelement location="../MyOtherProject"/><pathelement location="../MyThirdProject"/></classpath></javac>
ibm.com/redbooks