Author: rob.stryker(a)jboss.com
Date: 2012-05-31 03:17:01 -0400 (Thu, 31 May 2012)
New Revision: 41567
Modified:
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEJBoss7LaunchConfigurator.java
Log:
JBIDE-12041 to cr1
Modified:
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEJBoss7LaunchConfigurator.java
===================================================================
---
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEJBoss7LaunchConfigurator.java 2012-05-31
07:13:47 UTC (rev 41566)
+++
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEJBoss7LaunchConfigurator.java 2012-05-31
07:17:01 UTC (rev 41567)
@@ -89,12 +89,14 @@
protected String getArgsOverrideHost(IServer server, String preArgs) {
// Overrides
+ String host = server.getHost();
if( LaunchCommandPreferences.listensOnAllHosts(jbossServer.getServer())) {
- return ArgsUtil.setArg(preArgs,
+ host = "0.0.0.0";
+ }
+
+ return ArgsUtil.setArg(preArgs,
IJBossRuntimeConstants.STARTUP_ARG_HOST_SHORT,
- null, "0.0.0.0");
- }
- return preArgs;
+ null, host);
}
protected String getArgsOverrideConfigFile(IServer server, String preArgs) {
Show replies by date