Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 44260 invoked from network); 18 Dec 2006 13:15:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 13:15:01 -0000 Received: (qmail 75605 invoked by uid 500); 18 Dec 2006 13:15:05 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 75578 invoked by uid 500); 18 Dec 2006 13:15:05 -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 75569 invoked by uid 99); 18 Dec 2006 13:15:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 05:15:05 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 216.86.168.178 is neither permitted nor denied by domain of geir@pobox.com) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 05:14:54 -0800 Received: from [192.168.1.104] (unknown [67.86.14.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 5E07F51937 for ; Mon, 18 Dec 2006 08:14:32 -0500 (EST) Message-ID: <4586943C.4030807@pobox.com> Date: Mon, 18 Dec 2006 08:14:36 -0500 From: "Geir Magnusson Jr." Reply-To: geir@pobox.com User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [jdktools] Building jdktools and JPDA component References: <45799D56.4060907@pobox.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ivan Popov wrote: >> We already discussed that, I believe. We'll replace the Classlib files >> w/ the DRLVM files and just go with those > > Since nobody objects, could you please replace jni and jvmti headers > in classlib/luni module with DRLVM ones? It's still not possible to > build jdktools component because of broken jvmti.h in classlib. I don't understand this. The jdktools should be pulling it out of drlvm (for now), so there should be no trouble building > > This requires removing jni.h/jniport.h and jvmti.h files from > > working_classlib/modules/luni/src/main/native/include > > and copying there files jni.h/jni_types.h and jvmti.h/jvmti_types.h from > > working_vm/vm/include > > I've also added to HARMONY-2180 patch for classlib build > 'deploy_new_jni_jvmti_headers_from_classlib_luni_module.patch' to > deploy new header files to > > working_classlib/deploy/jdk/include > > while building classlib. > > I've checked this patch after moving files and this works well for me. > I was able to build jdktools with federated build. I don't understand. We've been able to build jdktools w/ federated build for a while now... geir > > Thanks. > Ivan > > On 12/8/06, Geir Magnusson Jr. wrote: >> >> >> Ivan Popov wrote: >> > I've tried to build jdktools with the latest changes in its build >> > system. On Linux build works well, but on Windows it fails mostly >> > because of lack of makefiles for JPDA module. >> >> Yep, was still working on that. >> >> > >> > I've created missed makefiles for JPDA module, prepared patches and >> > added them to HARMONY-2180. With these patches jdktools component is >> > built successfully on both Windows and Linux. It can be built on top >> > on working_classlib as well as referencing to existing HDK by using >> > hy.hdk property. These makefiles are simple enough, but I'd like them >> > to be committed to svn, so we can build jdktools on both platforms and >> > can improve the overall build later. >> >> Yep. Thanks >> >> > >> > The only problem is that the required jvmti.h file is missed in HDK >> > and its classlib copy (provided in >> > working_classlib/deploy/jdk/include) does not support C++. I've just >> > manually replaced jvmti.h and jni.h/jniport.h in working_classlib with >> > jvmti.h/jvmti_types.h and jni.h/jni_types.h from DRLVM and was able to >> > build jdktools. >> > >> > We have to agree on which copies of jni.h/jvmti.h should be shared >> > between Harmony components and where they should be located. One of >> > possible solution is to move these files to the top-level component >> > common_resources. >> >> We already discussed that, I believe. We'll replace the Classlib files >> w/ the DRLVM files and just go with those >> >> > >> > One more problem with building jdktools is that 'ant clean' fails >> > reporting the following file was not deleted: >> > >> > >> working_jdktools\build\classes\org\apache\harmony\tools\ijh\anttask\Adapter.class >> >> > >> > >> > However, second attempt to run 'ant clean' succeeds. I did not check >> > what's the problem with deleting this file. >> > >> > Thanks. >> > Ivan >>