summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-08-17 16:04:51 (EDT)
committerKaren Butzke2012-08-17 16:04:51 (EDT)
commitd4557ae3b638a2f4ec3f13bff4025de87fadee89 (patch)
tree07a0f4fdea55752bfb91dfd77506c4d2b4813ee9
parentc8ec10f23abd763bf6a3ffe83815397b987d068b (diff)
downloadwebtools.dali-d4557ae3b638a2f4ec3f13bff4025de87fadee89.zip
webtools.dali-d4557ae3b638a2f4ec3f13bff4025de87fadee89.tar.gz
webtools.dali-d4557ae3b638a2f4ec3f13bff4025de87fadee89.tar.bz2
problem markers were not being removed when running a validation
because the problem marker in code did not match the one in the plugin.xml
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/validation/JaxbValidator.java6
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/validation/JpaValidator.java6
2 files changed, 8 insertions, 4 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/validation/JaxbValidator.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/validation/JaxbValidator.java
index 1bd5690..7edbd8e 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/validation/JaxbValidator.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/validation/JaxbValidator.java
@@ -34,11 +34,13 @@ public class JaxbValidator
extends AbstractValidator
implements IValidator {
- public static final String RELATIVE_MARKER_ID = "problemMarker"; //$NON-NLS-1$
+ public static final String RELATIVE_MARKER_ID = "jaxbProblemMarker"; //$NON-NLS-1$
/**
* The identifier for the JAXB validation marker
- * (value <code>"org.eclipse.jpt.jaxb.core.problemMarker"</code>).
+ * (value <code>"org.eclipse.jpt.jaxb.core.jaxbProblemMarker"</code>).
+ * <p>
+ * See <code>org.eclipse.jpt.jaxb.core/plugin.xml:org.eclipse.core.resources.markers</code>.
*/
public static final String MARKER_ID = JptJaxbCorePlugin.instance().getPluginID() + '.' + RELATIVE_MARKER_ID;
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/validation/JpaValidator.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/validation/JpaValidator.java
index eb01ed0..9990a75 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/validation/JpaValidator.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/validation/JpaValidator.java
@@ -36,11 +36,13 @@ public class JpaValidator
implements IValidator
{
- public static final String RELATIVE_MARKER_ID = "problemMarker"; //$NON-NLS-1$
+ public static final String RELATIVE_MARKER_ID = "jpaProblemMarker"; //$NON-NLS-1$
/**
* The identifier for the JPA validation marker
- * (value <code>"org.eclipse.jpt.jpa.core.problemMarker"</code>).
+ * (value <code>"org.eclipse.jpt.jpa.core.jpaProblemMarker"</code>).
+ * <p>
+ * See <code>org.eclipse.jpt.jpa.core/plugin.xml:org.eclipse.core.resources.markers</code>.
*/
public static final String MARKER_ID = JptJpaCorePlugin.instance().getPluginID() + '.' + RELATIVE_MARKER_ID;