Author: akazakov
Date: 2009-03-10 09:02:34 -0400 (Tue, 10 Mar 2009)
New Revision: 14125
Modified:
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamProjectPropertyValidator.java
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-3979
Modified:
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamProjectPropertyValidator.java
===================================================================
---
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamProjectPropertyValidator.java 2009-03-10
12:59:08 UTC (rev 14124)
+++
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamProjectPropertyValidator.java 2009-03-10
13:02:34 UTC (rev 14125)
@@ -43,7 +43,7 @@
public class SeamProjectPropertyValidator implements IValidatorJob {
protected static final String VALIDATING_PROJECT = "VALIDATING_PROJECT";
- protected static final String INVALID_RUNTIME = "INVALID_RUNTIME";
+ protected static final String INVALID_SEAM_RUNTIME = "INVALID_SEAM_RUNTIME";
protected static final String INVALID_WEBFOLDER = "INVALID_WEBFOLDER";
protected static final String INVALID_PARENT_PROJECT =
"INVALID_PARENT_PROJECT";
protected static final String INVALID_EJB_PROJECT = "INVALID_EJB_PROJECT";
@@ -247,7 +247,7 @@
String seamRuntimeName = pref.get(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME,
null);
if(seamRuntimeName!=null && seamRuntimeName.length()>0 &&
(SeamRuntimeManager.getInstance().findRuntimeByName(seamRuntimeName) == null)) {
// Mark unknown runtime
- errorManager.addError(INVALID_RUNTIME, SeamPreferences.INVALID_PROJECT_SETTINGS, new
String[]{seamRuntimeName!=null?seamRuntimeName:"", project.getName()},
project);
+ errorManager.addError(INVALID_SEAM_RUNTIME, SeamPreferences.INVALID_PROJECT_SETTINGS,
new String[]{seamRuntimeName!=null?seamRuntimeName:"", project.getName()},
project);
}
if(ISeamFacetDataModelProperties.DEPLOY_AS_EAR.equals(pref.get(ISeamFacetDataModelProperties.JBOSS_AS_DEPLOY_AS,
null))) {
Modified:
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties
===================================================================
---
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties 2009-03-10
12:59:08 UTC (rev 14124)
+++
branches/jbosstools-3.0.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties 2009-03-10
13:02:34 UTC (rev 14125)
@@ -48,7 +48,7 @@
#Invalid seam project settings
INVALID_PARENT_PROJECT=Main Seam project "{0}" specified for Seam project
"{1}" does not exist.
-INVALID_RUNTIME=Seam Runtime "{0}" specified for Seam project "{1}"
does not exist.
+INVALID_SEAM_RUNTIME=Seam Runtime "{0}" specified for Seam project
"{1}" does not exist.
INVALID_WEBFOLDER=View Folder "{0}" specified for Seam project "{1}"
does not exist. Please correct this property in "Seam settings" page
(Project->Properties->Seam Settings).
INVALID_EJB_PROJECT=EJB project "{0}" specified for Seam project
"{1}" does not exist. Please correct this property in "Seam settings"
page (Project->Properties->Seam Settings).
INVALID_TEST_PROJECT=Test project "{0}" specified for Seam project
"{1}" does not exist. Please correct this property in "Seam settings"
page (Project->Properties->Seam Settings).