geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1070382 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServer.java
Date Mon, 14 Feb 2011 03:56:20 GMT
Author: gawor
Date: Mon Feb 14 03:56:20 2011
New Revision: 1070382

URL: http://svn.apache.org/viewvc?rev=1070382&view=rev
Log:
pass right javaagent parameter

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServer.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServer.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServer.java?rev=1070382&r1=1070381&r2=1070382&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServer.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServer.java
Mon Feb 14 03:56:20 2011
@@ -103,9 +103,9 @@ public class GeronimoServer extends Gero
 
         //-javaagent:"GERONIMO_BASE/bin/jpa.jar"
         String javaagent = "";
-        File jpaJar = new File(runtimeLocation + "/bin/jpa.jar");
-        if (jpaJar.exists()) {
-            javaagent = "-javaagent:\"" + runtimeLocation + "/bin/jpa.jar\"";
+        File agentJar = new File(runtimeLocation + "/lib/agent/transformer.jar");
+        if (agentJar.exists()) {
+            javaagent = "-javaagent:\"" + agentJar.getAbsolutePath() + "\"";
         }
 
         //-Djava.ext.dirs="GERONIMO_BASE/lib/ext;JRE_HOME/lib/ext"



Mime
View raw message