ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: junit can't find test classes
Date Mon, 26 May 2003 05:57:47 GMT
On Sat, 24 May 2003, Michael Olan <olanm@computer.org> wrote:

>   <pathelement location="${build.dir}"/>

>     java.lang.NoClassDefFoundError: classes/AccountTest (wrong name:
> AccountTest)

I assume AccountTest is in the anonymous package and not in the
package "classes", right?

Then you'll want to use <pathelement location="${build.dir}/classes"/>
to point to the root of your class hierarchy instead of one level
above.

Stefan

Mime
View raw message