Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 55579 invoked from network); 8 May 2008 18:02:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 18:02:21 -0000 Received: (qmail 5085 invoked by uid 500); 8 May 2008 18:02:22 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 5064 invoked by uid 500); 8 May 2008 18:02:22 -0000 Mailing-List: contact commits-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 commits@harmony.apache.org Received: (qmail 5053 invoked by uid 99); 8 May 2008 18:02:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 11:02:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 18:01:45 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 2E7EDD2EB for ; Thu, 8 May 2008 18:02:00 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@harmony.apache.org Date: Thu, 08 May 2008 18:01:59 -0000 Message-ID: <20080508180159.27974.55189@eos.apache.org> Subject: [Harmony Wiki] Update of "Verifier Extension" by AlexeiFedotov X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by AlexeiFedotov: http://wiki.apache.org/harmony/Verifier_Extension ------------------------------------------------------------------------------ 1. Environment variable: JAVA_HOME= 1. JDK header files (`jni.h`, `jvmti.h`, and `jvmpi.h`) are expected to be available under %JAVA_HOME%\include - ==== Getting Sources ==== - 1. Visual C++ 6 + ==== Getting the Verifier Extension ==== + {{{ + cd + svn co http://svn.apache.org/repos/asf/harmony/enhanced/trunk + cd working_vm + svn checkout build.xml vm/vmcore/src/verifier-3363/ vm/vmcore/include/ make/ vm/include/ + }}} - ==== Compiling a Verifier Extension ==== + ==== Compiling the Verifier Extension ==== - 1. Copy the resulting library (verifier.lib) to \org.apache.harmony_vmcore_verifier\lib\windows\{debug|release}\IA-32\verifier.lib. Otherwise you may use `org.apache.harmony_vmcore_verifier\src\vmcore\src\verifier-3363\verifier.dsw` from the TPTP project. + 1. Run a command prompt. Include VC6 and ant directories into `PATH`, `INCLUDE`, and `LIB` environment variables. + 1. From `\working_vm` invoke `ant clean-verifier-ext verifier-ext`. + 1. Copy the resulting library `\working_vm\build\windows_x86_msvc_{debug|release}\deploy\lib\verifier-ext.lib` to `\org.apache.harmony_vmcore_verifier\lib\windows\{debug|release}\IA-32\verifier.lib`. + ==== Getting TPTP Sources ==== + {{{ + cd + cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tptp checkout \ + platform/org.eclipse.hyades.probekit platform/org.eclipse.tptp.platform.jvmti.runtime + }}} ==== Compiling Martini ==== 1. Open `\org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_martini.dsw`. @@ -29, +42 @@ 1. Open `\org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_profiler.dsw`. 1. Select and build `BuildCGProf32` project. 1. Select and build `BuildJPIAgent32` project. - 17. All profiler binaries are now located (depending on whether you did release or debug build) in org.eclipse.tptp.platform.jvmti.runtime\src-native\bin\windows\{debug|release}\IA-32 + 1. All profiler binaries are now located (depending on whether you did release or debug build) in `org.eclipse.tptp.platform.jvmti.runtime\src-native\bin\windows\{debug|release}\IA-32`. ==== Launching ==== 8. Extract the attached ProxyClasses.zip into the directory mentioned in the previous step. This should create the following directory structure: org\eclipse\tptp\martini, and place 3 class files there.