Author: rob.stryker(a)jboss.com
Date: 2010-12-07 02:53:46 -0500 (Tue, 07 Dec 2010)
New Revision: 27201
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java
Log:
JBIDE-7822 - the wizard fragment for most servers had some errant code in it which set the
deploy type to server for basically all new servers. It seems to have been added in last
month. It is now removed.
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java 2010-12-07
06:32:52 UTC (rev 27200)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossServerWizardFragment.java 2010-12-07
07:53:46 UTC (rev 27201)
@@ -225,10 +225,6 @@
IServerWorkingCopy serverWC = (IServerWorkingCopy)
getTaskModel().getObject(TaskModel.TASK_SERVER);
serverWC.setRuntime((IRuntime)getTaskModel().getObject(TaskModel.TASK_RUNTIME));
serverWC.setServerConfiguration(null); // no inside jboss folder
- // just make sure the shouldnt-happen doesn't happen
- String tmp = serverWC.getAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE,
(String)null);
- if( IDeployableServer.DEPLOY_METADATA.equals(tmp))
- serverWC.setAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE,
IDeployableServer.DEPLOY_SERVER);
}
private IJBossServerRuntime getRuntime() {
Show replies by date