Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 24669 invoked from network); 8 Feb 2006 15:17:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 15:17:47 -0000 Received: (qmail 29758 invoked by uid 500); 8 Feb 2006 15:17:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29708 invoked by uid 500); 8 Feb 2006 15:17:39 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 29696 invoked by uid 99); 8 Feb 2006 15:17:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 07:17:39 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 07:17:38 -0800 Received: from phys-d3-ha21sca-2 ([129.145.155.165]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id k18FHHSD023798 for ; Wed, 8 Feb 2006 08:17:17 -0700 (MST) Received: from conversion-daemon.ha21sca-mail1.sfbay.sun.com by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IUD00J01JR1AP@ha21sca-mail1.sfbay.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Wed, 08 Feb 2006 07:18:11 -0800 (PST) Received: from [129.150.23.62] (vpn-129-150-23-62.SFBay.Sun.COM [129.150.23.62]) by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IUD00CI0JUAKR@ha21sca-mail1.sfbay.sun.com> for derby-dev@db.apache.org; Wed, 08 Feb 2006 07:18:11 -0800 (PST) Date: Wed, 08 Feb 2006 07:17:15 -0800 From: Rick Hillegas Subject: Re: system properties in Derby unit tests In-reply-to: <43E91858.3090005@sbcglobal.net> To: derby-dev@db.apache.org Message-id: <43EA0B7B.8040806@sun.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) References: <43E9167D.3080504@sun.com> <43E91858.3090005@sbcglobal.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, Kathey! Kathey Marsden wrote: >Rick Hillegas wrote: > > > >>I would like to set a system property for a Derby unit test run under >>the RunTest framework. Would appreciate advice on how to do this. The >>instructions in trunk/java/testing/README.htm say that I can crank up >>RunTest with -DtestSpecialProps and that is useful for a hand-run >>test. However, I don't know how to force a test to always have a >>certain System property when run inside derbyall. The *_app.properties >>files are nice too but they don't set system properties. >> >> > >I don't really understand the difference between testSpecialProps and >jvmflags but setting jvmflags in the _app.properties file like >lang/largeCodeGen does works ok as long as the test is not run with >useprocess false. > >Kathey > > > >