geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r453849 - /geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
Date Sat, 07 Oct 2006 05:23:12 GMT
Author: jdillon
Date: Fri Oct  6 22:23:12 2006
New Revision: 453849

URL: http://svn.apache.org/viewvc?view=rev&rev=453849
Log:
Use setSystemProperty() from MojoSupport

Modified:
    geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java

Modified: geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java?view=diff&rev=453849&r1=453848&r2=453849
==============================================================================
--- geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
(original)
+++ geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
Fri Oct  6 22:23:12 2006
@@ -361,20 +361,6 @@
         return (OptionSet[]) selected.toArray(new OptionSet[selected.size()]);
     }
 
-    private void setSystemProperty(final Java java, final String name, final String value)
{
-        Environment.Variable var = new Environment.Variable();
-        var.setKey(name);
-        var.setValue(value);
-        java.addSysproperty(var);
-    }
-
-    private void setSystemProperty(final Java java, final String name, final File value)
{
-        Environment.Variable var = new Environment.Variable();
-        var.setKey(name);
-        var.setFile(value);
-        java.addSysproperty(var);
-    }
-
     protected String getGoalName() {
         //
         //FIXME: There has to be way this can be computed instead of hardcoded absolutely.



Mime
View raw message