Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 87083 invoked from network); 12 Dec 2007 18:22:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2007 18:22:21 -0000 Received: (qmail 52520 invoked by uid 500); 12 Dec 2007 18:22:08 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 52472 invoked by uid 500); 12 Dec 2007 18:22:08 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 52463 invoked by uid 99); 12 Dec 2007 18:22:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2007 10:22:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 209.85.162.180 as permitted sender) Received: from [209.85.162.180] (HELO el-out-1112.google.com) (209.85.162.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2007 18:21:46 +0000 Received: by el-out-1112.google.com with SMTP id j27so161721elf.6 for ; Wed, 12 Dec 2007 10:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=U4+ZCNr7ehZnkQ5VHOq80gweJbPkq5xAg1mRTm20Cdo=; b=WVCGn8aSODWPgIuD8Zm3FJap1hInExzFsTyUDyHznWREAHOuuLFR6dy+LGTYqFkOY2OwB5g6X96SJByEPJYmdtXoA4PG0c56bp92/NtZWudFaETDmY4DwaB9dEOeU767UrMRLw8K/XbCccg3CdcmxD8SXZi4HykSpfnvRGT3QKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=oZCYFNzLNracUaWS8cgwLcDdgT9QOgC3R1+jnNWZw+d4XEv2cIZ+WAfR52nT/KQsKnCe5eN0B4gnvS4kHU1QvYHjv/MObdnPPmX2GIPpscFGecZnJ1q5CfvhO55fZXTXbUBZpKcEim6iqcWtmupgFTBNStpjZB47ABrQ2ZzzXTk= Received: by 10.70.23.2 with SMTP id 2mr1630847wxw.11.1197483703790; Wed, 12 Dec 2007 10:21:43 -0800 (PST) Received: from ?192.168.1.112? ( [66.203.89.218]) by mx.google.com with ESMTPS id h16sm12241195wxd.2007.12.12.10.21.42 (version=SSLv3 cipher=RC4-MD5); Wed, 12 Dec 2007 10:21:43 -0800 (PST) Subject: Re: How to use cxf.xml in a unit test? From: Benson Margulies To: cxf-dev@incubator.apache.org In-Reply-To: <1197482888.9615.34.camel@gmazza-desktop> References: <1197480788.8085.10.camel@bim-1330.basistech.net> <1197482888.9615.34.camel@gmazza-desktop> Content-Type: text/plain Date: Wed, 12 Dec 2007 13:21:42 -0500 Message-Id: <1197483702.8085.17.camel@bim-1330.basistech.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hang on,System.setProperty will do this. On Wed, 2007-12-12 at 13:08 -0500, Glen Mazza wrote: > I can't answer your question, but perhaps I can rephrase it so someone > else can answer it. The name of the cxf.xml file is specified via a > -Dcxf.config.file or -Dcxf.config.file.url property[1]. I guess you can > give the 2 cxf.xml's different file names for starters, but the next > issue would be how to get JUnit to use a different java argument for > each run. > > Glen > > [1] http://cwiki.apache.org/CXF20DOC/configuration.html > > Am Mittwoch, den 12.12.2007, 12:33 -0500 schrieb Benson Margulies: > > Anybody have a suggestion for how to make one test in a project use > > cxf.xml and another test use another cxf.xml? > > > > >