Author: rob.stryker(a)jboss.com
Date: 2012-05-10 04:22:10 -0400 (Thu, 10 May 2012)
New Revision: 40909
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ServerAdapterFactory.java
Log:
JBIDE-11735 - context root changing
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ServerAdapterFactory.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ServerAdapterFactory.java 2012-05-10
08:09:51 UTC (rev 40908)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ServerAdapterFactory.java 2012-05-10
08:22:10 UTC (rev 40909)
@@ -80,7 +80,6 @@
IRuntime runtime, IApplication application, UserDelegate user,
String deployProject, String remoteName, IProgressMonitor monitor) {
try {
- renameWebContextRoot(importedProjects);
IServer server = doCreateServerAdapter(serverType, runtime, application, user,
deployProject, remoteName);
addModules(getModules(importedProjects), server, monitor);
} catch (CoreException ce) {
@@ -96,12 +95,6 @@
}
}
- private void renameWebContextRoot(List<IProject> importedProjects) {
- for (IProject project : importedProjects) {
- ComponentUtilities.setServerContextRoot(project, "/");
- }
- }
-
private IServer doCreateServerAdapter(IServerType serverType, IRuntime rt,
IApplication application, UserDelegate user, String deployProject, String remoteName)
throws CoreException,
OpenShiftException, SocketTimeoutException {
Show replies by date