Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63A084C88 for ; Sat, 11 Jun 2011 01:26:48 +0000 (UTC) Received: (qmail 63721 invoked by uid 500); 11 Jun 2011 01:26:47 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 63610 invoked by uid 500); 11 Jun 2011 01:26:47 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 63603 invoked by uid 99); 11 Jun 2011 01:26:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 01:26:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcmuir@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bw0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 01:26:40 +0000 Received: by bwz8 with SMTP id 8so2382911bwz.35 for ; Fri, 10 Jun 2011 18:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=N+u8Udm3inhAWqE4hLSzsnh1ocn1vho8MPu3jHiMLe8=; b=g5OXIgQGMjAydxyZ1Gtyxhn4zhE6gprtSUTGTKid0aUT4BXZDM2eNttAMX+9LIvycQ 4IJqSBNKPXGn4EK9bHHsHqp1fBJ/nxFR/zNEN3Kzmpz/Ry95cM6uUPVZhaKpp2kpf7GU bL2/TRUal4an/ZEG63xqbJMd/4Dch/018mYio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=NNbua3FKkgTB2eQx5mNp0hvPtonOEFuhV0D98hiunJue/Pr5QsQPGh5Qvd+YHtRtA1 xSu4Vql7VULDZCxXRVHLx0Lei2WGUIqINx5ZJigoWv+CI9ZLqCOqUosKbrbBVAgwVnYj mGdsY+QAAGsFCehh6CJyn5fBgXlEtkjnr+3VU= Received: by 10.204.41.74 with SMTP id n10mr2391534bke.186.1307755580187; Fri, 10 Jun 2011 18:26:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.72.130 with HTTP; Fri, 10 Jun 2011 18:26:00 -0700 (PDT) In-Reply-To: References: From: Robert Muir Date: Fri, 10 Jun 2011 21:26:00 -0400 Message-ID: Subject: Re: commit-check target for ant? To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jun 10, 2011 at 8:45 PM, Chris Hostetter wrote: > > : We could compile under 1.6 and have a jenkins (ant) target to check > : binary 1.5 compatibility -- bytecode versions and std. API calls. This > : way we could use 1.6, @Override annotations, etc. and still ensure 1.5 > : support for folks that need it. > > -0 ... wouldn't that mean that users running *actual* 1.5 JVM installs > couldn't compile from source? =C2=A0I think it would be a bad idea to say= that > our "compile" JVM requirements are differnet then our "run" JVM > requirements. =C2=A0I'd be more in favor of requireing 1.6 then having a = weird > build where 1.5 folks could use our binary releases but not compile > themselves. I agree with you completely (a rare occasion, i know!). I think it would be better to just require 1.6 if we want to go that route. Personally I find myself often breaking the build because the solr bits require 1.6 but the lucene bits require 1.5 (and see below) > lucene/build.xml has a target called "nightly" but it's not actually used > directly. =C2=A0The number of things hudson does has gotten kind of compl= icated... > Just for reference, there are two reasons for this: 1. lack of a java 5 JRE on freebsd that is capable of actually compiling+running all of our tests. I've tried every option here, including the linux one under emulation, but its fair to say without bragging that our tests do actually stress a JRE a little bit, so its really gotta be solid. 2. using java 6 with -source/-target for java 5 doesn't actually catch invalid java 5, especially @Override on interface methods. However, the native java 6 port to freebsd is quite solid (passes all of our tests), and is actually being maintained and improved. Java 5 is dead technology and I don't think anyone is working on solving #1. Because of this, we must compile the lucene/modules bits with the java 5 COMPILER, but the solr bits with java 6 COMPILER to catch all compile errors, then run all tests with java 6... currently the java5 compiler we have on hudson is only useful really for its "javac". This is why hudson is complicated. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org