ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject Re: JUnit + Problem
Date Fri, 18 Jul 2003 21:01:06 GMT
Hi Aloizio,
   [junit] Running
siace.remessaanual.administracao.controle.TesteControleRelacaoEntidadesAIM
    [junit]
java.lang.NoClassDefFoundError:
siace/remessaanual/administracao/controle/TesteControleRelacaoEntidadesAIM
(wrong name:
teste/siace/remessaanual/administracao/controle/TesteControleRelacaoEntidade
sAIM)

I wonder whether you do not have a problem of package names not matching the
paths of the classes

change this line in your build.xml :

 <classpath location="${build}/testcases/teste" />
to
 <classpath location="${build}/testcases" />

because the error message implies that the package names of your test
classes begins with teste.siace ...

Come back to us if this does not work.

Cheers,

Antoine



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message