geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcco...@apache.org
Subject svn commit: r737154 - in /geronimo/devtools/eclipse-plugin/trunk: plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/GeronimoServer.java pom.xml
Date Fri, 23 Jan 2009 19:22:36 GMT
Author: mcconne
Date: Fri Jan 23 11:22:35 2009
New Revision: 737154

URL: http://svn.apache.org/viewvc?rev=737154&view=rev
Log:
Specify geronimo home directory when defining a new server

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

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/GeronimoServer.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/GeronimoServer.java?rev=737154&r1=737153&r2=737154&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/GeronimoServer.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.core/src/main/java/org/apache/geronimo/st/v21/core/GeronimoServer.java
Fri Jan 23 11:22:35 2009
@@ -109,7 +109,10 @@
         // Specify the minimum memory options for the Geronimo server
         String memoryOpts = "-Xms256m -Xmx512m -XX:MaxPermSize=128m";
 
-        return javaagent + " " + javaExtDirs + " " + javaEndorsedDirs + " " + memoryOpts;
+        // Specify GERONIMO_BASE
+        String homeDirectory = "-Dorg.apache.geronimo.home.dir=\"" + runtimeLocation;
+
+        return javaagent + " " + javaExtDirs + " " + javaEndorsedDirs + " " + memoryOpts
+ " " + homeDirectory;
     }
 
     /*

Modified: geronimo/devtools/eclipse-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/pom.xml?rev=737154&r1=737153&r2=737154&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/trunk/pom.xml Fri Jan 23 11:22:35 2009
@@ -297,6 +297,12 @@
                     <version>1.0-beta-1</version>
                 </plugin>
 
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>keytool-maven-plugin</artifactId>
+                    <version>1.0</version>
+                </plugin>
+
             </plugins>
         </pluginManagement>
                 



Mime
View raw message