Author: dgolovin
Date: 2007-09-03 07:04:36 -0400 (Mon, 03 Sep 2007)
New Revision: 3417
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-872
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2007-09-03
08:06:28 UTC (rev 3416)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2007-09-03
11:04:36 UTC (rev 3417)
@@ -267,7 +267,8 @@
}
public boolean isWar() {
- if(getSelectedProject()==null) return true;
+ if(getSelectedProject()==null ||
+ SeamCorePlugin.getSeamFacetPreferences(getSelectedProject().getProject())==null) return
true;
return
"war".equals(SeamCorePlugin.getSeamFacetPreferences(getSelectedProject().getProject()).get(ISeamFacetDataModelProperties.JBOSS_AS_DEPLOY_AS,"war"));
}
}