[jboss-cvs] JBossAS SVN: r75748 - projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jul 14 00:52:42 EDT 2008
Author: ALRubinger
Date: 2008-07-14 00:52:42 -0400 (Mon, 14 Jul 2008)
New Revision: 75748
Modified:
projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/ServerController.java
Log:
[JBASM-2] Enclose the CP in Quotes (for filesystems that support spaces ie Win32)
Modified: projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/ServerController.java
===================================================================
--- projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/ServerController.java 2008-07-14 04:45:46 UTC (rev 75747)
+++ projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/ServerController.java 2008-07-14 04:52:42 UTC (rev 75748)
@@ -146,7 +146,7 @@
*/
private static String getStartCommandLine(Server server, ServerManager manager) throws IOException
{
- String execCmd = manager.getJavaExecutable() + " -cp " + manager.getStartClasspath() + " ";
+ String execCmd = manager.getJavaExecutable() + " -cp \"" + manager.getStartClasspath() + "\" ";
execCmd = execCmd + server.getJvmArgs() + server.getSysProperties();
execCmd = execCmd + " " + MAIN + " -c " + server.getConfig() + " -b " + server.getHost();
@@ -205,7 +205,7 @@
* @return whether it is started
* @throws IOException for any error
*/
- private static boolean isServerStarted(Server server) throws IOException
+ static boolean isServerStarted(Server server) throws IOException
{
URL url = server.getHttpUrl();
if (server.hasWebServer())
@@ -408,5 +408,4 @@
}
}
}
-
}
More information about the jboss-cvs-commits
mailing list