Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 61777 invoked from network); 13 Oct 2010 21:05:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 21:05:58 -0000 Received: (qmail 17955 invoked by uid 500); 13 Oct 2010 21:05:58 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 17781 invoked by uid 500); 13 Oct 2010 21:05:57 -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 17772 invoked by uid 99); 13 Oct 2010 21:05:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 21:05:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcabrer@us.ibm.com designates 32.97.110.158 as permitted sender) Received: from [32.97.110.158] (HELO e37.co.us.ibm.com) (32.97.110.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 21:05:48 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e37.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o9DL3JMv007499 for ; Wed, 13 Oct 2010 15:03:19 -0600 Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9DL5Qov126372 for ; Wed, 13 Oct 2010 15:05:26 -0600 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9DL9Ho5022796 for ; Wed, 13 Oct 2010 15:09:17 -0600 Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com [9.17.195.145]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o9DL9HB9022791 for ; Wed, 13 Oct 2010 15:09:17 -0600 Subject: [testing] Type already defined error in Harmony6 X-KeepSent: 4220AE08:286A0DBC-862577BB:00734274; type=4; name=$KeepSent To: dev@harmony.apache.org X-Mailer: Lotus Notes Build V852_06012010 June 01, 2010 Message-ID: From: Guillermo Cabrera Date: Wed, 13 Oct 2010 16:05:23 -0500 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 8.5.1FP2|March 17, 2010) at 10/13/2010 15:05:25 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=09BBFD28DFE0C4E48f9e8a93df938690918c09BBFD28DFE0C4E4" Content-Disposition: inline --0__=09BBFD28DFE0C4E48f9e8a93df938690918c09BBFD28DFE0C4E4 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Hello: I have successfully built Harmony 6 (rev. 1022139) on a SUSE Linux Enterprise Server 11 using gcc version 4.3.2. I am currently trying to build the Apache Hadoop component (v. 0.21.0) using Harmony; after some= modifications I am still getting some errors stating that "The type = is already defined" where x is the name of a class. I have tested this usi= ng SUN and IBM JDK's and have had no issues. I wanted to know if this is a= known issue as I could not find anything related in Apache JIRA. Following, are a series of errors and fixes (provided by Charles Li), w= hile trying to build the Apache Hadoop common subproject: BUILD FAILED /home/harmony/Hadoop-Versions/hadoop-0.21.0/common/build.xml:741: The following error occurred while executing this line: /home/harmony/Hadoop-Versions/hadoop-0.21.0/common/build.xml:324: Unabl= e to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. *Resolution: Added tools.jar from $HARMONY_HOME/hdk/jdk/lib to $HARMONY_HOME/hdk/jdk/jre/lib/boot *Resolution: Added entry of tools.jar into bootclasspath.properties in $HARMONY_HOME/hdk/jdk/jre/lib/boot 4. ERROR in /home/harmony/Hadoop-Versions/hadoop-0.21.0/common/src/java/org/apac= he/hadoop/classification/tools/ExcludePrivateAnnotationsJDiffDoclet.jav= a (at line 20) import com.sun.javadoc.DocErrorReporter; ^^^^^^^^^^^^^^^ The import com.sun.javadoc cannot be resolved *Resolution: Added a jar file (sun-javadoc.jar) to $HARMONY_HOME/hdk/jdk/jre/lib/boot containing all javadoc related class= es *Resolution: Added entry of sun-javadoc.jar into bootclasspath.properti= es in $HARMONY_HOME/hdk/jdk/jre/lib/boot 1. ERROR in /home/harmony/Hadoop-Versions/hadoop-0.21.0/common/src/java/org/apac= he/hadoop/classification/tools/package-info.java (at line 1) /* ^ The type package-info is already defined It is worth mentioning that the Hadoop common project has 12 package-info.java files but under different directories/packages. Thanks, Guillermo= --0__=09BBFD28DFE0C4E48f9e8a93df938690918c09BBFD28DFE0C4E4--