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=<full path to JDK 1.5 directory>
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 <Harmony root>
+ 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 <TPTP root>\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 `<Harmony root>\working_vm` invoke `ant clean-verifier-ext verifier-ext`.
+ 1. Copy the resulting library `<Harmony root>\working_vm\build\windows_x86_msvc_{debug|release}\deploy\lib\verifier-ext.lib`
to `<TPTP root>\org.apache.harmony_vmcore_verifier\lib\windows\{debug|release}\IA-32\verifier.lib`.
+ ==== Getting TPTP Sources ====
+ {{{
+ cd <TPTP root>
+ 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 `<TPTP root>\org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_martini.dsw`.
@@ -29, +42 @@
1. Open `<TPTP root>\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.
|