Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 66020 invoked from network); 23 Jun 2010 15:26:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jun 2010 15:26:54 -0000 Received: (qmail 71270 invoked by uid 500); 23 Jun 2010 15:26:54 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 71198 invoked by uid 500); 23 Jun 2010 15:26:53 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 71190 invoked by uid 99); 23 Jun 2010 15:26:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 15:26:53 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.159.224.220] (HELO ovaltofu.org) (66.159.224.220) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 15:26:45 +0000 Received: from yuzu (13.78.74-86.rev.gaoland.net [86.74.78.13]) (authenticated bits=0) by ovaltofu.org (8.14.3/8.14.4) with ESMTP id o5NFQHSl016742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Jun 2010 08:26:22 -0700 (PDT) Date: Wed, 23 Jun 2010 08:26:16 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: [VOTE] Release PyLucene 2.9.3-1 and 3.0.2-1 In-Reply-To: <4C20E91C.7000105@cheimes.de> Message-ID: References: <4C1F7E84.7020105@cheimes.de> <4C20D352.2040401@cheimes.de> <4C20E91C.7000105@cheimes.de> User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 22 Jun 2010, Christian Heimes wrote: > Am 22.06.2010 17:42, schrieb Andi Vajda: >> The issue has to do with the fact that PyLucene 2.9.3 is built with generics >> support turned off (passing --no-generics to jcc) by default since Lucene >> 2.9.3 makes no use of generics and is thus supported with Java 1.4 as well. >> >> If you --import lucene built with --no-generics you also must use >> --no-generics when building bobo. >> >> You can also change PyLucene 2.9.3's Makefile to not use --no-generics or >> switch to PyLucene 3.0.2 which uses Lucene 3.0.2, a version of Lucene that >> requires Java 1.5 and uses generics. > > Ah! :) > > The thing is, bobo browse needs generic support for some features. Our > test cases fail when I compile bobo browse without generics. Could you > make the option --no-generics a make variable? Something like > > JCC_ARGS = "--no-generics" > > GENERATE=$(JCC) $(foreach jar,$(JARS),--jar $(jar)) \ > $(JCC_ARGS) \ > --package java.lang java.lang.System \ > java.lang.Runtime \ > ... > > This way I'm able to overwrite the option with a simple make argument > instead of patching the Makefile. It might be wise to remove the default > "--no-generics" to keep 2.9.3 compatible with 2.9.2. The option is a new > feature. So I added 'JCCFLAGS?=--no-generics' to PyLucene's Makefile and uploaded new release artifacts. Please check them out and let me know if all is working as expected. Thanks ! Andi..