[jbosstools-commits] JBoss Tools SVN: r44132 - trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 28 20:11:38 EDT 2012


Author: dazarov
Date: 2012-09-28 20:11:36 -0400 (Fri, 28 Sep 2012)
New Revision: 44132

Modified:
   trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/ValidationContext.java
Log:
Configure Problem Severity should open project settings if they are enabled for the project https://issues.jboss.org/browse/JBIDE-12538

Modified: trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/ValidationContext.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/ValidationContext.java	2012-09-28 22:43:41 UTC (rev 44131)
+++ trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/ValidationContext.java	2012-09-29 00:11:36 UTC (rev 44132)
@@ -107,7 +107,11 @@
 					}
 				}
 			}else{
-				CommonPlugin.getDefault().logError("problemType did not found for validator: "+element.getAttribute("class")+" problemType must be set");
+				CommonPlugin.getDefault().logError("problemType is not found for validator class: "+
+						element.getAttribute("class")+
+						" and validator id: "+
+						element.getAttribute("id")+
+						", problemType must be set as a attribute of element validator in org.jboss.tools.common.validation.validator extension point");
 			}
 		}
 		// We should add all the dependent validators (e.g. EL validator) to the very end of the list.



More information about the jbosstools-commits mailing list