Author: rob.stryker(a)jboss.com
Date: 2008-04-29 19:33:38 -0400 (Tue, 29 Apr 2008)
New Revision: 7898
Modified:
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/browser/wtp/RunOnServerContext.java
Log:
JBIDE-2171 I'm committing this even though upstream is wrong. Upstream is promised to
be fixed in m7, and I already saw Tim DeBoer's commit. This will fix itself in the
next milestone.
Modified:
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/browser/wtp/RunOnServerContext.java
===================================================================
---
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/browser/wtp/RunOnServerContext.java 2008-04-29
20:49:31 UTC (rev 7897)
+++
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/browser/wtp/RunOnServerContext.java 2008-04-29
23:33:38 UTC (rev 7898)
@@ -132,7 +132,7 @@
Object launchable = new HttpLaunchable(new URL(lastRunUrl));
IClient[] clients = getClients(server, launchable, launchMode);
IClient client = clients[0];
- client.launch(server, launchable, launchMode, ((Server)server).getExistingLaunch());
+ client.launch(server, launchable, launchMode, server.getLaunch());
} catch (Exception e) {
WebModelPlugin.getPluginLog().logError(e);
runJustUrl();
Show replies by date