Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 13651 invoked by uid 99); 27 Jun 2004 16:44:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [213.41.78.203] (HELO smtp-ft4.fr.colt.net) (213.41.78.203) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 27 Jun 2004 09:44:17 -0700 Received: from vma (host.244.109.41.213.rev.coltfrance.com [213.41.109.244]) by smtp-ft4.fr.colt.net with ESMTP id i5RGi9H31313 for ; Sun, 27 Jun 2004 18:44:09 +0200 Message-Id: <200406271644.i5RGi9H31313@smtp-ft4.fr.colt.net> From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: fix for running tests with cactus:test-ear (already known?) Date: Sun, 27 Jun 2004 18:44:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: Thread-Index: AcRcZfZZ6JogEzh7SZmPngzi4ZcFGw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked Hi Mark, Not sure why you had the problem. There is a sample EJB project in jakarta-cactus/integration/samples/ejb (in CVS) which I use to verify the plugin works and it's been working fine for me. That said, I've noticed that cactus:test-ear was not using the CactusScanner, which automatically discover what Java classes are Cactus tests. I've now modified the code in CVS. As a consequence, it should now work fine for you. Thanks -Vincent > -----Original Message----- > From: Mark Slater [mailto:mark@analogsoftware.com] > Sent: mercredi 9 juin 2004 01:09 > To: cactus-user@jakarta.apache.org > Subject: fix for running tests with cactus:test-ear (already known?) > > This may be covered someplace already, but I didn't find it. I noticed > that when running "maven cactus:test-ear", or "maven cactus:report" > when "cactus.is.ear=true", none of the tests get run. > > Part of my hesitation is that this is all new to me - maven, cactus, > J2EE, etc. But what I found was that in the > cactus-maven-1.6/plugin.jelly file, line 1101, the test-ear goal looks > for tests using: > > > includes="${cactus.test.includes}" > excludes="${cactus.test.excludes}"/> > > > But, when compiling, the test classes are put in > ${cactus.target.classes.dir}. > > So, I changed the ant:fileset dir to: > > > And now my tests get run. > > Is this something known? Or do I have my properties screwed up > someplace else, and that's what's causing this? If this does need to be > patched in the plugin, how do I go about doing that? > > Thanks! > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.711 / Virus Database: 467 - Release Date: 25/06/2004 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.711 / Virus Database: 467 - Release Date: 25/06/2004