Author: helenxu
Date: Tue Nov 20 16:21:35 2012
New Revision: 1411726

URL: http://svn.apache.org/viewvc?rev=1411726&view=rev
Log:
wiki convertion

Modified:
    openjpa/site/trunk/content/runtime-enhancement.mdtext

Modified: openjpa/site/trunk/content/runtime-enhancement.mdtext
URL: 
http://svn.apache.org/viewvc/openjpa/site/trunk/content/runtime-enhancement.mdtext?rev=1411726&r1=1411725&r2=1411726&view=diff
==============================================================================
--- openjpa/site/trunk/content/runtime-enhancement.mdtext (original)
+++ openjpa/site/trunk/content/runtime-enhancement.mdtext Tue Nov 20 16:21:35 
2012
@@ -1,31 +1,23 @@
-Title: Runtime Enhancement
-The first runtime enhancement method is to provide a _javaagent_ when
-launching the JVM that OpenJPA is going run in. 
+The first runtime enhancement method is to provide a _javaagent_ when 
launching the JVM that OpenJPA is going run in. 
 
-    
-    For Eclipse, specify the above _javaagent_ value on the Run Configuration
-page.
-    
-    For ANT, provide the _javaagent_ value as a _jvmarg_ when launching an
-application. Below is a snippet that shows how to pass in the _javaagent_
-when launching a Java SE application that uses OpenJPA.
-    
+    -javaagent:<openjpa_jar_location>
 
-       <path id="jpa.enhancement.classpath">
-           <pathelement location="bin"/>
-           <!-- lib contains all of the jars that came with the OpenJPA
-binary download -->
-           <fileset dir="lib">
-               <include name="**/*.jar"/>
-           </fileset>
-       </path>
-    ...
-    <target name="drive" depends="clean, build">
-           <echo message="Running test with run time enhancement."/>
-           <java classname="main.Driver" failonerror="true" fork="yes">
-               <jvmarg value="-javaagent:${openJPA-jar}"/>
-               <classpath refid="jpa.enhancement.classpath"/>
-           </java>
-       </target>
+For Eclipse, specify the above _javaagent_ value on the Run Configuration page.
 
-    
+For ANT, provide the _javaagent_ value as a _jvmarg_ when launching an 
application. Below is a snippet that shows how to pass in the _javaagent_ when 
launching a Java SE application that uses OpenJPA.
+
+        <path id="jpa.enhancement.classpath">
+            <pathelement location="bin"/>
+            <!-- lib contains all of the jars that came with the OpenJPA 
binary download -->
+            <fileset dir="lib">
+                <include name="**/*.jar"/>
+            </fileset>
+        </path>
+        ...
+        <target name="drive" depends="clean, build">
+            <echo message="Running test with run time enhancement."/>
+            <java classname="main.Driver" failonerror="true" fork="yes">
+                <jvmarg value="-javaagent:${openJPA-jar}"/>
+                <classpath refid="jpa.enhancement.classpath"/>
+            </java>
+        </target>


Reply via email to