Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 48267 invoked from network); 17 Aug 2010 22:58:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 22:58:42 -0000 Received: (qmail 63882 invoked by uid 500); 17 Aug 2010 22:58:42 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 63813 invoked by uid 500); 17 Aug 2010 22:58:42 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 63654 invoked by uid 99); 17 Aug 2010 22:58:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 22:58:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jonathan.costers@googlemail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 22:58:37 +0000 Received: by gya6 with SMTP id 6so479243gya.6 for ; Tue, 17 Aug 2010 15:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=W0kJpnd3Wdbq403fQTyARap6YTq1ljAwuAU6LukNSGk=; b=gdfNtJu0tQHNIrVaVrM8LOD0IUzgsI9/4/OZZlBssK5B7yfvZC7k195qvskOq7PTzg VcnPkre4e9esiUVLiSTf7Qq6Y9QClRDhpTdkQEAFsmFPdrModME/LhN+c77yR2NtZBhT c9MWmbZa9NCaD1p1XDmhtnUOc5I70nOJtFEc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wFfD+6OxKC0q/DF1d7rTYuT2WFfpaYUXN1l1FIkVWSTvLwxcwGK4cBgPD7G2EOPB0v AFgGkw39XXVVz2aGa2AQj82XwIdVbS9PZ8PpYZZ2SuJ80f2Zjoh8MW9AE+vr8J8SXxel Avx2WlxIOhwdWyONEMeW0qDeTAsGi6nvG/Fj0= MIME-Version: 1.0 Received: by 10.231.12.76 with SMTP id w12mr8005695ibw.87.1282085896611; Tue, 17 Aug 2010 15:58:16 -0700 (PDT) Received: by 10.231.176.7 with HTTP; Tue, 17 Aug 2010 15:58:16 -0700 (PDT) In-Reply-To: <4C6AE3D2.4050906@acm.org> References: <4C4075C7.5070902@acm.org> <4C40D287.3090804@zeus.net.au> <4C6AE3D2.4050906@acm.org> Date: Wed, 18 Aug 2010 00:58:16 +0200 Message-ID: Subject: Re: Regression testing and Windows operating systems From: Jonathan Costers To: river-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=000325574cb27067f9048e0ce286 --000325574cb27067f9048e0ce286 Content-Type: text/plain; charset=UTF-8 I use a build.properties in the river root directory (where common.xml is located). On my Windows machine, it contains: jtreg.home=C:\\Java\\jtreg-4.1 jdk1.5.home=C:\\Java\\jdk1.5.0_22 You could also pass properties to Ant on the command line, for instance: ant -Djtreg.home=/opt/jtreg-4.1 jtreg 2010/8/17 Patricia Shanahan > Do you use environment variables or a build.properties? > > Thanks, > > > Patricia > > > On 8/17/2010 1:44 AM, Jonathan Costers wrote: > >> Building River on Windows (XP) and running the QA tests works fine ... No >> new ground is being broken there. >> >> There are a couple things to watch out for, though: >> 1. make sure the JDK you are using is installed in a path without spaces >> (e.g. C:\Java) >> 2. make sure you checkout River in a path without spaces (e.g. >> C:\Projects\River) >> 3. make sure the Ant you are using is using the JDK from (1) -> you can >> run >> "ant diagnostics" in the project directory to find out >> 4. when using an IDE to build, make sure this IDE runs on the JDK from (1) >> - >> you can configure this for Netbeans in/etc/netbeans.conf - >> and the Ant from (3) >> >> Especially running the QA test suite will not work when the above is not >> taken into account. >> >> But if it is, you'll see: >> >> ----------------------------------------- >> GENERAL HARNESS CONFIGURATION INFORMATION: >> >> Date started: >> Tue Aug 17 00:19:16 CEST 2010 >> Installation directory of the JSK: >> com.sun.jini.jsk.home=C:\Projects\river-trunk >> Installation directory of the harness: >> com.sun.jini.qa.home=C:\Projects\river-trunk\qa >> Categories being tested: >> categories=id loader policyprovider locatordiscovery activation >> config >> discoverymanager joinmanager url iiop jrmp reliability thread >> ----------------------------------------- >> ENVIRONMENT PROPERTIES: >> >> JVM information: >> Java HotSpot(TM) Client VM, 17.0-b17, 32 bit VM mode >> Sun Microsystems Inc. >> OS information: >> Windows XP, 5.1, x86 >> >> ......... >> >> ----------------------------------------- >> >> # of tests started = 397 >> # of tests completed = 397 >> # of tests skipped = 18 >> # of tests passed = 397 >> # of tests failed = 0 >> >> ----------------------------------------- >> >> Date finished: >> Tue Aug 17 02:50:48 CEST 2010 >> Time elapsed: >> 9092 seconds >> >> BUILD SUCCESSFUL (total time: 151 minutes 34 seconds) >> >> >> Best >> Jonathan >> >> >> 2010/7/16 Peter Firmstone >> >> Just a lack of time, I've made some attempts to set up a dev environment >>> on >>> Window's Vista, but ran into some problems getting it set up right. >>> >>> We've considered making a separate release of the qa tests, this would >>> assist by checking binary compatibility is maintained, eg method >>> signatures >>> etc. >>> >>> >>> Cheers, >>> >>> Peter. >>> >>> Patricia Shanahan wrote: >>> >>> I'm a little concerned about the implications of my difficulties running >>>> the River jtreg tests in a WindowsXP environment. I seem to be breaking >>>> new >>>> ground, but I feel a full test on at least one of the MS-Windows >>>> operating >>>> systems should be part of the release process, to guard against e.g. >>>> dependence on a single rooted file system getting built in to River. >>>> >>>> Is there some reason against doing so, or just a lack of resources? >>>> >>>> Patricia >>>> >>>> >>>> >>> >> > --000325574cb27067f9048e0ce286--