Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 46995 invoked from network); 28 May 2007 02:07:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2007 02:07:59 -0000 Received: (qmail 89544 invoked by uid 500); 28 May 2007 02:08:03 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 88992 invoked by uid 500); 28 May 2007 02:08:01 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 88980 invoked by uid 99); 28 May 2007 02:08:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2007 19:08:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of xiaofeng.li@gmail.com designates 64.233.184.225 as permitted sender) Received: from [64.233.184.225] (HELO wr-out-0506.google.com) (64.233.184.225) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2007 19:07:55 -0700 Received: by wr-out-0506.google.com with SMTP id i22so438259wra for ; Sun, 27 May 2007 19:07:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bK6i2EmNfN4ImHTkcmwsCl8oRHpvkhjgcA/6FWlMhpCShNKW1q3kViJ/TneoKhWvHwEVcfm+xVcdzBZ7WxXegxJaF30gmlxjjhWLMjJUC1x6XG/P6VVNDac2x7U7a1MIMA49eOViInQ5/RjdroMuRPt8YHczbcd43uQrCF7PUNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tY0U2GKjcH7Gob4N0QosFb2J4a+/JdPsdA2dAw65QdmdW6BsyvbXNAHkXdLVEqHfTEqzvpXl/eYU/lszFI5bIJ0opoHxZPTa+SpC4zkUfwzHIcjXWhM9G8K390Io4644HGLryKLYzPoYg+Zvo8DiSnoFT6A49BLgT3V3wYqOQgs= Received: by 10.90.79.6 with SMTP id c6mr3600530agb.1180318055017; Sun, 27 May 2007 19:07:35 -0700 (PDT) Received: by 10.90.113.3 with HTTP; Sun, 27 May 2007 19:07:34 -0700 (PDT) Message-ID: <9623c9a50705271907n56d5d428x5e14999c692877aa@mail.gmail.com> Date: Mon, 28 May 2007 10:07:34 +0800 From: "Xiao-Feng Li" To: dev@harmony.apache.org Subject: Re: harmony compilation error In-Reply-To: <1180278896.4659a070a8ae1@webmail.insa-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1180273127.465989e771c7f@webmail.insa-lyon.fr> <9623c9a50705270643v35d0fb50jada6239f9579b97d@mail.gmail.com> <1180278896.4659a070a8ae1@webmail.insa-lyon.fr> X-Virus-Checked: Checked by ClamAV on apache.org On 5/27/07, Pierre Parrend wrote: > > Hello, > > antlr is present in the ./working_vm/build/pre-copied/common/ANTLR/ > directory. > > However, I had to change the version from antlr-2.7.0.jar to > antlr-3.0.jar (since the web site that is set in the 'fetch-depends' scripts > does no longer have the 2.7.0 version online). Do I have to make specific > changes, or is it possible simply to change the version number in the build.xml > files ? (to date I performed a grep -r 'antlr-2.7.0.jar' and simply updated what > I found), It's a recent change that the antlr web site doesn't provide 2.7.0. Probably what you did is enough, but since I have no experience with 3.0 yet, I am not sure if there is any issue. Harmony needs the update and tests. Thanks, xiaofeng > Pierre > > Quoting Xiao-Feng Li : > > > Hi, Pierre, what it needs is antlr, not ant. Please check. Thanks, xiaofeng > > > > On 5/27/07, Pierre Parrend wrote: > > > > > > Hello, > > > > > > when compiling the working_vm/build part of Harmony, I get the following > > error. > > > All other modules (common_resources, working_classlib, working_jdktools) > > have > > > been compiled with the ant script. > > > > > > It seems the ant jar can not be resolve, even though following ant jars > > are > > > available: > > > ./working_vm/build/make/tmp/ant-contrib.jar > > > ./working_vm/build/pre-copied/common/JASMIN/jasmin-1.1/lib/ant.jar > > > > > ./working_vm/build/pre-copied/common/JASMIN/jasmin-1.1/lib/ant-launcher.jar > > > ./working_vm/build/pre-copied/common/ANTLR/antlr-3.0.jar > > > > > > ./working_vm/build/pre-copied/common/ANTCONTRIB/ant-contrib/lib/ant-contrib.jar > > > > > > The pb has probably already been identified, however I did not manage to > > find > > > related mails in the Harmony archive. > > > > > > Does someone has an idea where it comes from ? > > > > > > thanks, > > > > > > Pierre P. > > > build.java: > > > [echo] ## Building Java classes of 'vm.kernel_classes' > > > Overriding previous definition of reference to java.classes.pattern > > > [javac] Compiling 2 source files to > > > > > > /home/pierre/downloads/java/harmony/trunk/working_vm/build/lnx_ia32_gcc_debug/semis/vm/kernel_classes/_classes > > > [javac] ---------- > > > [javac] 1. ERROR in > > > > > > /home/pierre/downloads/java/harmony/trunk/working_vm/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/lang/reflect/parser/SignatureLexer2.java > > > (at line 20) > > > [javac] import antlr.TokenStream; > > > [javac] ^^^^^ > > > [javac] The import antlr cannot be resolved > > > > > > ... > > > > > > BUILD FAILED > > > > > > /home/pierre/downloads/java/harmony/trunk/working_vm/build/make/build.xml:488: > > > The following error occurred while executing this line: > > > > > > /home/pierre/downloads/java/harmony/trunk/working_vm/build/make/build.xml:495: > > > The following error occurred while executing this line: > > > > > > /home/pierre/downloads/java/harmony/trunk/working_vm/build/make/build_component.xml:73: > > > The following error occurred while executing this line: > > > > > > /home/pierre/downloads/java/harmony/trunk/working_vm/build/lnx_ia32_gcc_debug/semis/build/targets/build.java.xml:10: > > > Compile failed; see the compiler error output for details. > > > > > > -- > > > Pierre Parrend > > > Ph.D. Student, Teaching Assistant > > > INRIA-INSA Lyon, France > > > pierre.parrend@insa-lyon > > > web : www.rzo.free.fr > > > > > > > > > -- > > http://xiao-feng.blogspot.com > > > > > -- > Pierre Parrend > doctorant, moniteur > laboratoire CITI, 21, Av. Jean Capelle > 69621 Villeurbanne Cedex > pierre.parrend@insa-lyon.fr > www.rzo.free.fr > -- http://xiao-feng.blogspot.com