Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 13956 invoked from network); 23 Nov 2010 11:01:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 11:01:47 -0000 Received: (qmail 84489 invoked by uid 500); 23 Nov 2010 11:02:19 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 84352 invoked by uid 500); 23 Nov 2010 11:02:19 -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 84321 invoked by uid 99); 23 Nov 2010 11:02:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 11:02:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tvhobbs@googlemail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 11:02:09 +0000 Received: by ywo32 with SMTP id 32so266259ywo.6 for ; Tue, 23 Nov 2010 03:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=EywgTjAz5eBYh3VIKXlBa+1wPsvC+wQDbrJvWmbE+Q0=; b=bpvNhOctOxwsAoUkC5y+8ZqPbfhNcjcI6Guto+6K6V0nhgchU5/kznQ8uORG/kliGH GKFLcBt5FvyyRylj+w/8q+oAe2nmVzlPS7gWoZIkAS3gtLj50zGROcjW/oMxOA5EPqog pK260fqbyfNOn97YcoeHop3UF8d2Bz7Fs9d9s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lbD84fc3PklSj6Y3Ditw6jwzzHE5Nd1+hBHaMrSym5Rqi5K0LW3M6YPJGw9sX2dGzr 6iGmZpBlscD3Kgqq9cItK7t90qqqyQFU/L7/AGaLMJDDKKIvOpEhbWiDu7pMWYkv65TC pBNbFA+0Ou98F2dBXvfvehON+0mjeMZDnY2Rw= MIME-Version: 1.0 Received: by 10.151.157.21 with SMTP id j21mr11581359ybo.50.1290510108786; Tue, 23 Nov 2010 03:01:48 -0800 (PST) Received: by 10.150.199.17 with HTTP; Tue, 23 Nov 2010 03:01:48 -0800 (PST) Date: Tue, 23 Nov 2010 11:01:48 +0000 Message-ID: Subject: Setting up River From: Tom Hobbs To: river-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, I've done a fresh check out and I'm trying to retrace all my steps on how to get a River development setup ready. Sadly, I'm failing on a few steps. Can anyone refresh my brain? - Compiler Errors in the IDE In Eclipse I have to create a new JDK 1.5 system library which doesn't have any restrictions on the rt.jar. This is fine, but I get the following compiler errors in the IDE (note: building River via Ant works fine, so I suspect this to be just an IDE issue.) 1. com.sun.jini.tool.ClassServer complains the IOException doesn't have a IOException(String,Throwable) constructor. Which it doesn't in Java 5, but it does in 6. I thought we were staying in JDK 5 for now? 2. test/src/net.jini.core.event.RemoteEventTest complains about MarshalledObject not being generic. Again this is a 1.5 vs 1.6 problem. - Cannot run the QA tests I can run the QA tests by browsing to $RIVER_HOME and executing "ant qa.run" But I can't run all the tests (or specific ones) from the qa directory. I.e. browsing to $RIVER_HOME/qa and executing "ant harness-runtime run-tests -Drun.tests=all" gives me the following error: run-tests: [java] Exception in thread "main" java.lang.NoClassDefFoundError: net/jini/ config/ConfigurationException [java] at com.sun.jini.qa.harness.MasterHarness.(MasterHarness.ja va:209) [java] at com.sun.jini.qa.harness.QARunner.main(QARunner.java:67) [java] Caused by: java.lang.ClassNotFoundException: net.jini.config.Configu rationException [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) (This is where I own up to never having had the patience to run all the QA tests before...) - Cannot run the jtreg tests I can't run all the tests (or specific ones) from the qa directory. I.e. browsing to $RIVER_HOME/qa and executing "ant jtreg-teardown jtreg" gives me the following error: [jtreg] TEST: com/sun/jini/action/catchSecurityException/CatchSecurityExcept ion.java [jtreg] JDK under test: (C:\Progra~1\Java\jdk1.5.0_13) [jtreg] java version "1.5.0_13" [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05 ) [jtreg] Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) [jtreg] [jtreg] [jtreg] ACTION: build -- Failed. Compilation failed: exit code 1 [jtreg] REASON: User specified action: run build CatchSecurityException [jtreg] TIME: 0.563 seconds [jtreg] messages: [jtreg] command: build CatchSecurityException [jtreg] reason: User specified action: run build CatchSecurityException [jtreg] elapsed time (seconds): 0.563 This is where I own up (again) to not having tried the jtreg tests myself for more than a year... Can anyone point out my obvious mistakes? Then I can write up the right way to do it and get it on the website. Cheers, Tom