Author: scabanovich
Date: 2007-10-12 05:39:33 -0400 (Fri, 12 Oct 2007)
New Revision: 4135
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectCreationOperation.java
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/project/ImportProjectFoldersPage.java
Log:
JBIDE-544
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectCreationOperation.java
===================================================================
---
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectCreationOperation.java 2007-10-12
09:39:24 UTC (rev 4134)
+++
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectCreationOperation.java 2007-10-12
09:39:33 UTC (rev 4135)
@@ -28,7 +28,7 @@
import org.jboss.tools.struts.StrutsProjectUtil;
import org.jboss.tools.struts.StrutsUtils;
import org.jboss.tools.jst.web.WebUtils;
-import org.jboss.tools.jst.web.context.RegisterTomcatContext;
+import org.jboss.tools.jst.web.context.RegisterServerContext;
import org.jboss.tools.jst.web.project.helpers.IWebProjectTemplate;
import org.jboss.tools.jst.web.project.helpers.NewWebProjectContext;
import org.jboss.tools.jst.web.ui.operation.WebNatureOperation;
@@ -37,7 +37,7 @@
public class StrutsProjectCreationOperation extends WebProjectCreationOperation {
- public StrutsProjectCreationOperation(IProject project, IPath projectLocation,
RegisterTomcatContext registry, Properties properties) {
+ public StrutsProjectCreationOperation(IProject project, IPath projectLocation,
RegisterServerContext registry, Properties properties) {
super(project, projectLocation, registry, properties);
setProperty(WebNatureOperation.TLDS_ID,
properties.getProperty(NewProjectWizardContext.ATTR_TLDS));
}
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/project/ImportProjectFoldersPage.java
===================================================================
---
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/project/ImportProjectFoldersPage.java 2007-10-12
09:39:24 UTC (rev 4134)
+++
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/project/ImportProjectFoldersPage.java 2007-10-12
09:39:33 UTC (rev 4135)
@@ -59,7 +59,7 @@
this.context = context;
context.setServletVersion(StrutsPreference.DEFAULT_STRUTS_IMPORT_SERVLET_VERSION.getValue());
- appRegister.setContext(context.getRegisterTomcatContext());
+ appRegister.setContext(context.getRegisterServerContext());
appRegister.setLayoutForSupport(getLayoutForSupport());
//For new WTP
appRegister.setEnabling(false);
Show replies by date