From dev-return-97384-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Wed May 2 10:20:29 2012 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 8CA64C100 for ; Wed, 2 May 2012 10:20:29 +0000 (UTC) Received: (qmail 37926 invoked by uid 500); 2 May 2012 10:20:28 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 37859 invoked by uid 500); 2 May 2012 10:20:28 -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 37851 invoked by uid 99); 2 May 2012 10:20:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 10:20:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of serera@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 10:20:21 +0000 Received: by obbef5 with SMTP id ef5so1005108obb.35 for ; Wed, 02 May 2012 03:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NztuEmljiqsIIl9Uveno1VUdLNeZy2qxmN/FQvFezs0=; b=Ae6FdPXTLu6CjXqaJpHHlryqH6RTHq+s9eccQI+tt1NACe7lEDkgDuDTGXLT6csIna eKgaUBl3W+KVsecdQM+U9xTCofPi9fXEJhJwO0XGzUHxz7dkKF3vwtvwPkd+yRCzQmM9 tTQPe/UkWXCB6jy7gXvg4F0GyxMQPbQmMQ8kUtWry0WlAuMnzemoFjqypy/PIcbVbRKi qgu0PFmvBF88JnveU+7jqn7VrMoZ/TTZH7m2pSE91YBcDH49ndX5xe6EBqGdqJP6eZPn VYS+9VswuFb1iSLhNWF27kEHz/cGV5ywt8+NgtMkR5ao0ZS1wWO9HmH9bCtUUB0y8IsS je2w== MIME-Version: 1.0 Received: by 10.60.28.33 with SMTP id y1mr32305332oeg.62.1335954000337; Wed, 02 May 2012 03:20:00 -0700 (PDT) Received: by 10.182.19.168 with HTTP; Wed, 2 May 2012 03:20:00 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 13:20:00 +0300 Message-ID: Subject: Re: report-text doesn't support the "useSimpleNames" attribute From: Shai Erera To: dev@lucene.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1fffaa05b9a04bf0b079f --e89a8fb1fffaa05b9a04bf0b079f Content-Type: text/plain; charset=ISO-8859-1 Thanks for the 'ant resolve' tip -- after I 'ant clean-jars' I ran 'ant eclipse' just to be sure, but it didn't compile. The resolve thing resolved it. Something has happened recently ... these used to be much simpler. All I needed to do is 'svn up; ant eclipse' and that's it. Now I seem to need to run other commands as well ... I wish it was simpler as before. Shai On Wed, May 2, 2012 at 1:14 PM, Dawid Weiss wrote: > I was suggesting ant clean should incorporate clean-jars but it wasn't > well received. I think Uwe complained it'd break IDEs (which it > wouldn't -- you'd just need to run ant resolve afterwards). > > Alternatively, there should be a check for lose *.jar (without > associated *.sha file). > > Dawid > > On Wed, May 2, 2012 at 11:55 AM, Shai Erera wrote: > > Thanks, that solved it ! > > > > Perhaps this target should be run when I run 'ant clean' from the root? I > > wasn't aware that I should do such a thing, and I must say it's confusing > > :). Nothing in the error message suggested or even hint that. > > > > Shai > > > > On Wed, May 2, 2012 at 11:55 AM, Dawid Weiss < > dawid.weiss@cs.put.poznan.pl> > > wrote: > >> > >> Make sure you ant clean-jars -- I suspect there are two versions of > >> junit4 that reside in your classpath for some reason and an older > >> version is picked up before the new one. > >> > >> The difference between jvms is I think explained by the order > >> attributes are reported by the XML parser -- both of these attributes > >> have been added in one version of junit4 so they're both unsupported > >> by an older JAR that is most likely in your classpath. > >> > >> This issue should be fixed for the future either by checking that no > >> left-over jars are present (those not accompanied by .sha1 signatures) > >> or by building the classpath using ivy (which should simply point to > >> the current jar versions, ignoring anything else). > >> > >> Dawid > >> > >> On Tue, May 1, 2012 at 5:06 PM, Shai Erera wrote: > >> > Hi > >> > > >> > I svn up and ran 'ant test-core', but hit this strange error: > >> > > >> > lucene\build.xml:50: The following error occurred while executing this > >> > line: > >> > lucene\common-build.xml:1018: The following error occurred while > >> > executing > >> > this line: > >> > lucene\common-build.xml:744: report-text doesn't support the > >> > "useSimpleNames" attribute > >> > > >> > I have Ant 1.8.2. > >> > > >> > I tried to run the tests with an Oracle JVM (the above failure was > from > >> > an > >> > IBM JVM), and hit this: > >> > > >> > lucene\build.xml:50: The following error occurred while executing this > >> > line: > >> > lucene\common-build.xml:1018: The following error occurred while > >> > executing > >> > this line: > >> > lucene\common-build.xml:744: report-text doesn't support the > >> > "maxClassNameColumns" attribute > >> > > >> > Each JVM complains about a different attribute ! > >> > > >> > This is the Oracle Java 6 that I ran with: > >> > > >> > java version "1.6.0_31" > >> > Java(TM) SE Runtime Environment (build 1.6.0_31-b05) > >> > Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) > >> > > >> > Has anyone run into this? > >> > > >> > Shai > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > >> For additional commands, e-mail: dev-help@lucene.apache.org > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > > --e89a8fb1fffaa05b9a04bf0b079f Content-Type: text/html; charset=ISO-8859-1
Thanks for the 'ant resolve' tip -- after I 'ant clean-jars' I ran 'ant eclipse' just to be sure, but it didn't compile. The resolve thing resolved it.

Something has happened recently ... these used to be much simpler. All I needed to do is 'svn up; ant eclipse' and that's it. Now I seem to need to run other commands as well ... I wish it was simpler as before.

Shai

On Wed, May 2, 2012 at 1:14 PM, Dawid Weiss <dawid.weiss@cs.put.poznan.pl> wrote:
I was suggesting ant clean should incorporate clean-jars but it wasn't
well received. I think Uwe complained it'd break IDEs (which it
wouldn't -- you'd just need to run ant resolve afterwards).

Alternatively, there should be a check for lose *.jar (without
associated *.sha file).

Dawid

On Wed, May 2, 2012 at 11:55 AM, Shai Erera <serera@gmail.com> wrote:
> Thanks, that solved it !
>
> Perhaps this target should be run when I run 'ant clean' from the root? I
> wasn't aware that I should do such a thing, and I must say it's confusing
> :). Nothing in the error message suggested or even hint that.
>
> Shai
>
> On Wed, May 2, 2012 at 11:55 AM, Dawid Weiss <dawid.weiss@cs.put.poznan.pl>
> wrote:
>>
>> Make sure you ant clean-jars -- I suspect there are two versions of
>> junit4 that reside in your classpath for some reason and an older
>> version is picked up before the new one.
>>
>> The difference between jvms is I think explained by the order
>> attributes are reported by the XML parser -- both of these attributes
>> have been added in one version of junit4 so they're both unsupported
>> by an older JAR that is most likely in your classpath.
>>
>> This issue should be fixed for the future either by checking that no
>> left-over jars are present (those not accompanied by .sha1 signatures)
>> or by building the classpath using ivy (which should simply point to
>> the current jar versions, ignoring anything else).
>>
>> Dawid
>>
>> On Tue, May 1, 2012 at 5:06 PM, Shai Erera <serera@gmail.com> wrote:
>> > Hi
>> >
>> > I svn up and ran 'ant test-core', but hit this strange error:
>> >
>> > lucene\build.xml:50: The following error occurred while executing this
>> > line:
>> > lucene\common-build.xml:1018: The following error occurred while
>> > executing
>> > this line:
>> > lucene\common-build.xml:744: report-text doesn't support the
>> > "useSimpleNames" attribute
>> >
>> > I have Ant 1.8.2.
>> >
>> > I tried to run the tests with an Oracle JVM (the above failure was from
>> > an
>> > IBM JVM), and hit this:
>> >
>> > lucene\build.xml:50: The following error occurred while executing this
>> > line:
>> > lucene\common-build.xml:1018: The following error occurred while
>> > executing
>> > this line:
>> > lucene\common-build.xml:744: report-text doesn't support the
>> > "maxClassNameColumns" attribute
>> >
>> > Each JVM complains about a different attribute !
>> >
>> > This is the Oracle Java 6 that I ran with:
>> >
>> > java version "1.6.0_31"
>> > Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
>> > Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
>> >
>> > Has anyone run into this?
>> >
>> > Shai
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


--e89a8fb1fffaa05b9a04bf0b079f--