View | Details | Raw Unified | Return to bug 235306
Collapse All | Expand All

(-)j2eecreation/org/eclipse/jst/j2ee/project/WebUtilities.java (+12 lines)
Lines 25-30 Link Here
25
import org.eclipse.jst.javaee.web.WebApp;
25
import org.eclipse.jst.javaee.web.WebApp;
26
import org.eclipse.jst.javaee.web.WebAppVersionType;
26
import org.eclipse.jst.javaee.web.WebAppVersionType;
27
import org.eclipse.wst.common.componentcore.ComponentCore;
27
import org.eclipse.wst.common.componentcore.ComponentCore;
28
import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
28
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
29
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
29
import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
30
import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
30
31
Lines 149-152 Link Here
149
		}
150
		}
150
		return false;
151
		return false;
151
	}
152
	}
153
154
	/**
155
	 * This method will set the context root on the associated workbench module with the given string
156
	 * value passed in.  This context root is used by the server at runtime.
157
	 * 
158
	 * @param contextRoot string
159
	 */
160
	public static void setServerContextRoot(IProject webProject, String contextRoot)
161
	{
162
		ComponentUtilities.setServerContextRoot(webProject, contextRoot);
163
	}
152
}
164
}

Return to bug 235306