Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 18551 invoked from network); 10 Jun 2005 23:39:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2005 23:39:24 -0000 Received: (qmail 36643 invoked by uid 500); 10 Jun 2005 23:39:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 36581 invoked by uid 500); 10 Jun 2005 23:39:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 36567 invoked by uid 99); 10 Jun 2005 23:39:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mdli.com (HELO mail.mdli.com) (208.200.221.8) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 16:39:15 -0700 Received: from exch-sl02.mdli.com (exch-sl02.mdli.com [145.36.243.10]) by mail.mdli.com (Postfix) with ESMTP id 3C053B5E3C for ; Fri, 10 Jun 2005 16:39:03 -0700 (PDT) Received: from [145.36.245.225] (145.36.245.225 [145.36.245.225]) by exch-sl02.mdli.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id MNRXNS9H; Fri, 10 Jun 2005 16:39:03 -0700 Message-ID: <42AA2492.7080505@mdl.com> Date: Fri, 10 Jun 2005 16:38:58 -0700 X-Sybari-Trust: 0f52a1d5 310387b0 b11d9815 0000013d From: "Alexey N. Solofnenko" User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050610) MIME-Version: 1.0 To: Ant Users List Subject: Re: Errors while trying to compile ant 1.6.5 with gcj 4.0 References: <200506102257.51955.bero@arklinux.org> In-Reply-To: <200506102257.51955.bero@arklinux.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It is an interesting exercise... Tools.jar is required, if you want to run in process, otherwise you can specify and external compiler will be used (for example, jikes). Another possibility is to compile tools.jar into native code (not sure whether gcj can do it and maybe it is illegal, because gcj would have to decompile bytecode in order to generate native code and I doubt you will have rights to redistribute the results). - Alexey. Bernhard Rosenkraenzer wrote: > Hi, > when trying to compile ant from source using gcj 4.0 (no non-free JDKs > installed), hundreds of deprecation warnings and 2 fatal errors: > > src/main/org/apache/tools/ant/IntrospectionHelper.java:495: error: No > constructor matching > '(org.apache.tools.ant.IntrospectionHelper,java.lang.Object,java.lang.Object)' > found in class 'org.apache.tools.ant.IntrospectionHelper$NestedCreator'. > nc = new NestedCreator(null) { > ^ > src/main/org/apache/tools/ant/IntrospectionHelper.java: In class > 'org.apache.tools.ant.IntrospectionHelper$2': > src/main/org/apache/tools/ant/IntrospectionHelper.java: In constructor > '(org.apache.tools.ant.IntrospectionHelper,java.lang.Object,java.lang.Object)': > src/main/org/apache/tools/ant/IntrospectionHelper.java:508: error: No > constructor matching > '(org.apache.tools.ant.IntrospectionHelper,java.lang.Object,java.lang.Object)' > found in class 'org.apache.tools.ant.IntrospectionHelper$NestedCreator'. > nc = new NestedCreator(null) { > ^ > 2 errors > > > Trying to use the ant binaries doesn't work either: ant -version results in > Unable to locate tools.jar. Expected to find it in /usr/lib/tools.jar > Apache Ant version 1.6.5 compiled on June 2 2005 > > AFAICT gcj doesn't have a tools.jar file. > Any ideas on this? > > Thanks, > bero > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > -- ------------------------------------------------------------------------ / Alexey N. Solofnenko home: http://trelony.cjb.net/ / --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org