geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r149230 - geronimo/trunk/plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/StartRemoteServer.java
Date Mon, 31 Jan 2005 07:00:45 GMT
Author: djencks
Date: Sun Jan 30 23:00:44 2005
New Revision: 149230

URL: http://svn.apache.org/viewcvs?view=rev&rev=149230
Log:
GERONIMO-559. Make configs attribute optional

Modified:
    geronimo/trunk/plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/StartRemoteServer.java

Modified: geronimo/trunk/plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/StartRemoteServer.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/StartRemoteServer.java?view=diff&r1=149229&r2=149230
==============================================================================
--- geronimo/trunk/plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/StartRemoteServer.java
(original)
+++ geronimo/trunk/plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/StartRemoteServer.java
Sun Jan 30 23:00:44 2005
@@ -135,8 +135,10 @@
         cmd.add("-jar");
         cmd.add(systemFile.getCanonicalPath());
 
-        for (StringTokenizer st = new StringTokenizer(getConfigs()); st.hasMoreTokens();)
{
-            cmd.add(st.nextToken());
+        if (getConfigs() != null) {
+            for (StringTokenizer st = new StringTokenizer(getConfigs()); st.hasMoreTokens();)
{
+                cmd.add(st.nextToken());
+            }
         }
         String[] command = (String[]) cmd.toArray(new String[0]);
 



Mime
View raw message