Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 46716 invoked from network); 3 Dec 2004 07:38:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 07:38:30 -0000 Received: (qmail 95543 invoked by uid 500); 3 Dec 2004 07:38:29 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 95286 invoked by uid 500); 3 Dec 2004 07:38:28 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 95272 invoked by uid 99); 3 Dec 2004 07:38:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mxgw.rdsor.ro (HELO gw.maxiq.ro) (212.93.155.16) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 23:38:26 -0800 Received: from jazz (jazz.maxiq.local [192.168.111.11]) by gw.maxiq.ro (8.11.6/8.11.6/SuSE Linux 0.5) with SMTP id iB37cLr31191; Fri, 3 Dec 2004 09:38:21 +0200 Message-ID: <027601c4d90b$0f390800$0b6fa8c0@jazz> From: "Florin Vancea" To: "Maven Developers List" , "Corey Scott" References: Subject: Re: Problem dynamically excluding some tests Date: Fri, 3 Dec 2004 09:38:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm no expert but I believe project.xml is already parsed when you get to maven.xml. Therefore it's useless to change that property within maven.xml. Maybe you can use build.properties to specify test.extra.excludes and configure different build.properties on different machines. Florin ----- Original Message ----- From: "Corey Scott" To: "Maven Dev List" Sent: Friday, December 03, 2004 9:24 AM Subject: Problem dynamically excluding some tests > Currently I am trying to exclude a certain set of tests from running > on different machines based on their operation system. Basically I > have some DB code which has ODBC tests that I dont want to run on my > Redhat server but I want to run them on my XP desktop. > > I currently have the following settings: > > Extract from my POM: > > > > **/*Test.java > > > **/*Mock*.java > > > ${test.extra.excludes} > > > > > Extract from my maven.xml: > > > > > Including MsAccess(ODBC) Tests > > > > Excluding MsAccess(ODBC) Tests > > > > > > > Many thanks, > Corey > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org