ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: running junit from ant
Date Sun, 15 Jan 2006 15:44:33 GMT
On Fri, 13 Jan 2006, Lothar Krenzien <> wrote:

> I can't believe it because the test target depends on the compile
> target and I included the output dir (where the compiler stores the
> classes) in my classpath. In the debug output I can see that the
> classes are really included.
>     [junit] '-classpath' ...
>     W:\deployment\web\WEB-INF\classes\sr2\test\imports\TestImportAlarm.class
>     ... 

The classes are not supposed to be on the classpath, the root of the
class hierarchy is.  So if your class is not inside of a package,
W:\deployment\web\WEB-INF\classes\sr2\test\imports must be on the
classpath, not the class file.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message