Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 42836 invoked by uid 500); 18 Jul 2003 21:16:33 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 42823 invoked from network); 18 Jul 2003 21:16:32 -0000 Received: from hematita.dcc.ufmg.br (150.164.10.11) by daedalus.apache.org with SMTP; 18 Jul 2003 21:16:32 -0000 Received: from turmalina.dcc.ufmg.br (turmalina [150.164.10.1]) by hematita.dcc.ufmg.br (8.12.8/8.12.8) with ESMTP id h6ILGavs007471 for ; Fri, 18 Jul 2003 18:16:36 -0300 (EST) Date: Fri, 18 Jul 2003 18:13:13 -0300 (EST) From: Aloizio Pereira da Silva To: Ant Users List Subject: Re: JUnit + Problem In-Reply-To: <005f01c34d6f$b5949cb0$040200c0@D2CFT80J> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Antoine, Now the following errors is displayed: Buildfile: build.xml all: [echo] executando teste de unidade [junit] Running teste.siace.remessaanual.administracao.controle.TesteControl eRelacaoEntidadesAIM [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 0,546 sec [junit] TEST teste.siace.remessaanual.administracao.controle.TesteControleRe lacaoEntidadesAIM FAILED [junit] Running teste.siace.remessaanual.administracao.controle.TesteControl eRelacaoEntidadesAIM2000E2001 [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 0,531 sec [junit] TEST teste.siace.remessaanual.administracao.controle.TesteControleRe lacaoEntidadesAIM2000E2001 FAILED [junit] Running teste.siace.remessaanual.administracao.controle.TesteControl eRelacaoEntidadesAIM2002 [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 0,531 sec [junit] TEST teste.siace.remessaanual.administracao.controle.TesteControleRe lacaoEntidadesAIM2002 FAILED [junit] Running teste.siace.remessaanual.administracao.entidade.TesteMunicip io [junit] java.lang.NoClassDefFoundError: siace/teste/junit/framework/TestCase ***************************************************** * Federal University of Minas Gerais * * Department of Computer Science * * Master Degree in Computer Science * * * * Aloizio Silva * * http://www.dcc.ufmg.br/~aloizio * * * * Mobile Computer and Network Optimization * ***************************************************** = =20 On Fri, 18 Jul 2003, [iso-8859-1] Antoine L=E9vy-Lambert wrote: > Hi Aloizio, > [junit] Running > siace.remessaanual.administracao.controle.TesteControleRelacaoEntidadesAI= M > [junit] > java.lang.NoClassDefFoundError: > siace/remessaanual/administracao/controle/TesteControleRelacaoEntidadesAI= M > (wrong name: > teste/siace/remessaanual/administracao/controle/TesteControleRelacaoEntid= ade > sAIM) >=20 > I wonder whether you do not have a problem of package names not matching = the > paths of the classes >=20 > change this line in your build.xml : >=20 > > to > >=20 > because the error message implies that the package names of your test > classes begins with teste.siace ... >=20 > Come back to us if this does not work. >=20 > Cheers, >=20 > Antoine >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org