Author: rob.stryker(a)jboss.com
Date: 2009-06-05 04:45:46 -0400 (Fri, 05 Jun 2009)
New Revision: 15726
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java
Log:
JBIDE-4346
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java 2009-06-05
08:04:20 UTC (rev 15725)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/JBossServerStartupLaunchConfiguration.java 2009-06-05
08:45:46 UTC (rev 15726)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.ide.eclipse.as.core.server.internal.launch;
+import java.io.File;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -161,11 +162,11 @@
if( argVal.startsWith(":")) //$NON-NLS-1$
argVal = argVal.substring(1);
- String[] asArr = argVal.split(":"); //$NON-NLS-1$
+ String[] asArr = argVal.split(File.pathSeparator);
asArr[0] = libPath;
String implode = ""; //$NON-NLS-1$
for( int i = 0; i < asArr.length; i++ )
- implode += asArr[i] + ":"; //$NON-NLS-1$
+ implode += asArr[i] + File.pathSeparator;
libPath = implode;
}
vmArgs = ArgsUtil.setArg(vmArgs, null,
Show replies by date