Return-Path: Delivered-To: apmail-incubator-river-dev-archive@locus.apache.org Received: (qmail 17440 invoked from network); 20 Nov 2007 19:01:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 19:01:34 -0000 Received: (qmail 39849 invoked by uid 500); 20 Nov 2007 19:01:21 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 39837 invoked by uid 500); 20 Nov 2007 19:01:21 -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 39828 invoked by uid 99); 20 Nov 2007 19:01:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 11:01:21 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bodhuin@unisannio.it designates 193.206.108.12 as permitted sender) Received: from [193.206.108.12] (HELO mailx2.unisannio.it) (193.206.108.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 19:01:08 +0000 Received: from [192.168.123.102] (host143-195-dynamic.11-87-r.retail.telecomitalia.it [87.11.195.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailx2.unisannio.it (Postfix) with ESMTP id BEC59F102A2 for ; Tue, 20 Nov 2007 19:06:49 +0100 (CET) Message-ID: <47432EB0.4040404@unisannio.it> Date: Tue, 20 Nov 2007 20:00:00 +0100 From: Thierry BODHUIN User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: How can I try to run the project? References: <16609.212.136.56.20.1195566686.squirrel@webmail.xs4all.nl> <008501c82b8d$3584d520$a08e7f60$@kocakulak@uzay.tubitak.gov.tr> <47430702.5010800@unisannio.it> <47431806.9000804@cheiron.org> In-Reply-To: <47431806.9000804@cheiron.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Mark Brouwer ha scritto: > Hi Thierry, > > Thierry BODHUIN wrote: >> I encounter the same exact fact. >> The source code of Jini is not at the Java 1.5 compliant level: it >> uses the keyword "enum" in the >> com/sun/jini/jeri/internal/runtime/Util.java file as mentioned. >> It fails also to compile for Java 1.5+ compiler due to varargs >> parameters methods. > > I assume you mean it warns you, because at least javac with the Sun > JDK compiles fine and only issue warnings. Yes that's true, it was only warnings. But should be correctly with simply casting "null" to "(Class[])null" when requested a class array in java reflection code. > >> But giving to the javac command the source level (-source 1.4) >> should alleviate the problems you encounter that why >> ant set the javac "source parameters" to 1.4. > > This is something we should do in the build file(s) anyway as long as > we don't lift the minimum requirements for Jini to 1.5 or beyond. Yes in the build file, but also we should also do a property in the ant file that define the "source=1.4" in order to avoid to duplicate in different places the value 1.4 (javac, javadoc, ...). -- Thierry BODHUIN RCOST - Research Centre on Software Technology, http://www.rcost.unisannio.it/ CRdC-ICT - Centro Regionale di Competenza ICT, http://www.crdc-ict.unisannio.it/ University of Sannio, Department of Engineering, http://www.unisannio.it/ Viale Traiano, 82100 Benevento, Italy mailto:bodhuin@unisannio.it tel. +39 0824 30 5553 mob. +39 339 332 2795 fax. +39 0824 50 552