Tuesday, November 23, 2004 08:14 PM
My project uses Log4j and has passed compilation by Eclipse. When I try to use Ant to do the compile work, it failed with Log4j related classes can not be found exception. But I remmeber to put the log4j.jar to the classpath element in build file. While I put the log4j.jar into $ANT_HOME/lib, then the compile work under Ant passed.
It also encounter in using some third party jars like jdom.jar etc.. But not every library will encounter this kind of problem. Is it the bug of Ant?
Btw, the Ant I used is in version 1.6.2.