JBoss Tools SVN: r31772 - in trunk/cdi/tests/org.jboss.tools.cdi.core.test: projects and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-02 12:34:11 -0400 (Thu, 02 Jun 2011)
New Revision: 31772
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.project
trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.settings/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/JavaSource/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/BuilderOrderValidationTest.java
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2011-06-02 12:50:22 UTC (rev 31771)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2011-06-02 16:34:11 UTC (rev 31772)
@@ -17,6 +17,7 @@
org.jboss.tools.common.model.ui,
org.eclipse.ltk.core.refactoring,
org.jboss.tools.jst.web.kb,
+ org.jboss.tools.jst.jsp.test,
org.jboss.tools.cdi.xml,
org.eclipse.jst.standard.schemas
Export-Package: org.jboss.tools.cdi.core.test,
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.classpath
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.classpath (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.classpath 2011-06-02 16:34:11 UTC (rev 31772)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="JavaSource"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 4.2 Runtime">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
+</classpath>
\ No newline at end of file
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.project
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.project (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.project 2011-06-02 16:34:11 UTC (rev 31772)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>CDITestBrokenBuilderOrder</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.cdi.core.cdibuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ <nature>org.jboss.tools.cdi.core.cdinature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.settings/org.eclipse.jdt.core.prefs 2011-06-02 16:34:11 UTC (rev 31772)
@@ -0,0 +1,7 @@
+#Thu Jun 04 11:17:46 MSD 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITestBrokenBuilderOrder/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2011-06-02 12:50:22 UTC (rev 31771)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2011-06-02 16:34:11 UTC (rev 31772)
@@ -44,11 +44,13 @@
import org.jboss.tools.cdi.core.test.tck.StereotypeInheritenceTest;
import org.jboss.tools.cdi.core.test.tck.validation.AnnotationsValidationTest;
import org.jboss.tools.cdi.core.test.tck.validation.BeansXmlValidationTest;
+import org.jboss.tools.cdi.core.test.tck.validation.BuilderOrderValidationTest;
import org.jboss.tools.cdi.core.test.tck.validation.CoreValidationTest;
import org.jboss.tools.cdi.core.test.tck.validation.DefenitionErrorsValidationTest;
import org.jboss.tools.cdi.core.test.tck.validation.DependentProjectValidationTest;
import org.jboss.tools.cdi.core.test.tck.validation.DeploymentProblemsValidationTests;
import org.jboss.tools.cdi.core.test.tck.validation.ELValidationTest;
+import org.jboss.tools.test.util.ProjectImportTestSetup;
/**
* @author Alexey Kazakov
@@ -107,7 +109,16 @@
suiteAll.addTestSuite(EnableCDISupportForJarTest.class);
suiteAll.addTestSuite(DependentProjectValidationTest.class);
suiteAll.addTest(new CDICoreTestSetup(suite));
+
+ suite = new TestSuite(BuilderOrderValidationTest.class.getName());
+ suite.addTestSuite(BuilderOrderValidationTest.class);
+ ProjectImportTestSetup testSetup = new ProjectImportTestSetup(suite,
+ "org.jboss.tools.cdi.core.test",
+ new String[]{"projects/CDITestBrokenBuilderOrder"},
+ new String[]{"CDITestBrokenBuilderOrder"});
+ suiteAll.addTest(testSetup);
return suiteAll;
}
+
}
\ No newline at end of file
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/BuilderOrderValidationTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/BuilderOrderValidationTest.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/BuilderOrderValidationTest.java 2011-06-02 16:34:11 UTC (rev 31772)
@@ -0,0 +1,124 @@
+/*************************************************************************************
+ * Copyright (c) 2011 JBoss by Red Hat and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.cdi.core.test.tck.validation;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.internal.preferences.EclipsePreferences;
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.ui.IMarkerResolution;
+import org.eclipse.ui.ide.IDE;
+import org.jboss.tools.cdi.core.preferences.CDIPreferences;
+import org.jboss.tools.common.preferences.SeverityPreferences;
+import org.jboss.tools.jst.jsp.test.TestUtil;
+import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
+import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.ResourcesUtils;
+
+public class BuilderOrderValidationTest extends TestCase {
+
+ IProject project = null;
+ boolean saveAutoBuild;
+
+ public void setUp() throws Exception {
+ project = ResourcesPlugin.getWorkspace().getRoot().getProject("CDITestBrokenBuilderOrder");
+ assertNotNull("Can't load CDITestBrokenBuilderOrder", project); //$NON-NLS-1$
+ saveAutoBuild = ResourcesUtils.setBuildAutomatically(false);
+ rebuild();
+ }
+
+ public void tearDown() throws CoreException {
+ ResourcesUtils.setBuildAutomatically(saveAutoBuild);
+ }
+
+ private void checkResolution(IProject project, String markerType, String resolutionClassName) throws CoreException {
+ try{
+ IMarker[] markers = getBuilderOrderMarkers();
+ assertTrue(markers.length > 0);
+ for (int i = 0; i < markers.length; i++) {
+ IMarker marker = markers[i];
+ IMarkerResolution[] resolutions = IDE.getMarkerHelpRegistry().getResolutions(marker);
+ for (int j = 0; j < resolutions.length; j++) {
+ IMarkerResolution resolution = resolutions[j];
+ if (resolution.getClass().getName().equals(resolutionClassName)) {
+ ValidatorManager.setStatus(ValidatorManager.RUNNING);
+ resolution.run(marker);
+ JobUtils.waitForIdle();
+ TestUtil.waitForValidation(project);
+ IMarker[] newMarkers = project.findMarkers(markerType, true, IResource.DEPTH_INFINITE);
+ assertTrue("Marker resolution did not decrease number of problems. was: "+markers.length+" now: "+newMarkers.length, newMarkers.length < markers.length);
+ return;
+ }
+ fail("Marker resolution: "+resolutionClassName+" not found");
+ }
+ }
+ } finally {
+ JobUtils.waitForIdle();
+// TestUtil.waitForValidation(project);
+ }
+ }
+
+ private IMarker[] getBuilderOrderMarkers() throws CoreException {
+ return project.findMarkers(ValidatorManager.ORDER_PROBLEM_MARKER_TYPE, true, IResource.DEPTH_ZERO);
+ }
+
+ public void testWrongBuildOrderPreference() throws CoreException {
+ IMarker[] markers = getBuilderOrderMarkers();
+ assertEquals(2, markers.length);
+ assertEquals(IMarker.SEVERITY_ERROR, markers[0].getAttribute(IMarker.SEVERITY, -1));
+
+ modifyPreference(SeverityPreferences.IGNORE);
+ markers = getBuilderOrderMarkers();
+ assertEquals(0, markers.length);
+
+ modifyPreference(SeverityPreferences.WARNING);
+ markers = getBuilderOrderMarkers();
+ assertEquals(2, markers.length);
+ assertEquals(IMarker.SEVERITY_WARNING, markers[0].getAttribute(IMarker.SEVERITY, -1));
+
+ modifyPreference(SeverityPreferences.ERROR);
+ markers = getBuilderOrderMarkers();
+ assertEquals(2, markers.length);
+ assertEquals(IMarker.SEVERITY_ERROR, markers[0].getAttribute(IMarker.SEVERITY, -1));
+ }
+
+ void modifyPreference(String value) throws CoreException {
+ EclipsePreferences ps = (EclipsePreferences)CDIPreferences.getInstance().getProjectPreferences(project);
+ ps.put(ELSeverityPreferences.WRONG_BUILDER_ORDER_PREFERENCE_NAME, value);
+ ps = (EclipsePreferences)ELSeverityPreferences.getInstance().getProjectPreferences(project);
+ ps.put(ELSeverityPreferences.WRONG_BUILDER_ORDER_PREFERENCE_NAME, value);
+ rebuild();
+ }
+
+ void rebuild() throws CoreException {
+ ValidatorManager.setStatus(ValidatorManager.RUNNING);
+ JobUtils.waitForIdle();
+ project.build(IncrementalProjectBuilder.CLEAN_BUILD, new NullProgressMonitor());
+ JobUtils.waitForIdle();
+ project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
+ JobUtils.waitForIdle();
+ TestUtil.waitForValidation(project);
+ }
+
+ public void testBuilderOrderResolution() throws CoreException {
+ checkResolution(project,
+ ValidatorManager.ORDER_PROBLEM_MARKER_TYPE,
+ "org.jboss.tools.jst.web.kb.internal.validation.BuilderOrderResolution");
+ }
+
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/BuilderOrderValidationTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 6 months
JBoss Tools SVN: r31771 - trunk/maven/tests/org.jboss.tools.maven.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-06-02 08:50:22 -0400 (Thu, 02 Jun 2011)
New Revision: 31771
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
Log:
JBIDE-8518 fix pom.xml files in JBT and JBDS repo such that only component root poms reference parent pom (all others just look up to .. for parent)
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2011-06-02 03:16:08 UTC (rev 31770)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2011-06-02 12:50:22 UTC (rev 31771)
@@ -13,8 +13,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.jboss.home.5.1=${requirement.build.root}/jboss-5.1.0.GA
- -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.2.0.GA</systemProperties>
+ <systemProperties>-Djbosstools.test.jboss.home.5.1=${requirement.build.root}/jboss-5.1.0.GA -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.2.0.GA</systemProperties>
</properties>
<build>
<plugins>
13 years, 6 months
JBoss Tools SVN: r31770 - in trunk/bpel/docs/reference/en-US: images/reference and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-06-01 23:16:08 -0400 (Wed, 01 Jun 2011)
New Revision: 31770
Added:
trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_01.png
trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_02.png
trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_03.png
trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_04.png
trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_05.png
trunk/bpel/docs/reference/en-US/images/reference/Dashboard_01.png
trunk/bpel/docs/reference/en-US/images/reference/Details_tab_01.png
trunk/bpel/docs/reference/en-US/images/reference/Details_tab_02.png
trunk/bpel/docs/reference/en-US/images/reference/Details_tab_03.png
trunk/bpel/docs/reference/en-US/images/reference/Details_tab_04.png
trunk/bpel/docs/reference/en-US/images/reference/Palette_01.png
trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_01.png
trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_02.png
trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_03.png
trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_04.png
Modified:
trunk/bpel/docs/reference/en-US/reference.xml
Log:
updated with new content from Bob's word doc
Added: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_03.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_04.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Common_Property_Tabs_05.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Dashboard_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Dashboard_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_03.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Details_tab_04.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Palette_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Palette_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_03.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/docs/reference/en-US/images/reference/Property_Sheet_04.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/bpel/docs/reference/en-US/reference.xml
===================================================================
--- trunk/bpel/docs/reference/en-US/reference.xml 2011-06-02 01:38:05 UTC (rev 31769)
+++ trunk/bpel/docs/reference/en-US/reference.xml 2011-06-02 03:16:08 UTC (rev 31770)
@@ -310,6 +310,294 @@
</mediaobject>
</figure>
</section>
+ <section>
+ <title>Palette</title>
+ <para>
+ The primary editing, creation and viewing tools of the BPEL Designer are accessed from the <guilabel>Palette</guilabel>. The <guilabel>Palette</guilabel> can be docked either at the right or left edge of the BPEL Designer main window, or it can be detached and displayed in its own view.
+ </para>
+ <figure>
+ <title>Palette</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Palette_01.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <formalpara>
+ <title>Selection Tools</title>
+ <para>
+ The <guilabel>Selection Tool</guilabel> is used to select individual activities in the editors drawing canvas. Multiple activities can be selected by holding the <keycap>CTRL</keycap> or <keycap>SHIFT</keycap> keys in combination with left mouse click. The <guilabel>Marquee Tool</guilabel> allows selection of groups of activities by dragging a selection rectangle around them.
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Tool Drawers</title>
+ <para>
+ BPEL activities are created by dragging icons from the labeled <guilabel>Actions</guilabel>, <guilabel>Controls</guilabel> and <guilabel>Faults</guilabel> palette sections (or drawers), onto the editor’s drawing canvas. These sections can be collapsed and expanded by clicking on individual palette section titles. They can also be <emphasis>pinned</emphasis> to prevent them from collapsing if another section is expanded.
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Zoom Tools</title>
+ <para>
+ The tools at the bottom of the <guilabel>Palette</guilabel> are used to expand or shrink the drawing canvas.
+ </para>
+ </formalpara>
+ </section>
+ <section>
+ <title>Dashboard</title>
+ <para>
+ This panel is embedded in the BPEL Designer canvas and provides a quick overview of the BPEL elements that are defined for the currently selected activity or BPEL process.
+ </para>
+ <figure>
+ <title>Palette</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Dashboard_01.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The process name appears at the top of the Dashboard. The main Dashboard area lists all of the <guilabel>Partner Links</guilabel>, <guilabel>Variables</guilabel>,<guilabel>Correlation Sets</guilabel> and <guilabel>Message Exchanges</guilabel> currently defined for the process. The green plus symbol and grey x symbol allow you to add and delete each of these elements. In-line editing of all element names works by selecting the name and then clicking again to enable the editor.
+ </para>
+ </section>
+ <section>
+ <title>Property Sheets</title>
+ <section>
+ <title>Common Property sheet tabs</title>
+ <para>
+ This section describes the Property Sheet tabs that are common to many activities.
+ </para>
+ <section>
+ <title>Description tab</title>
+ <figure>
+ <title>Description tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Common_Property_Tabs_01.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Description</guilabel> tab contains the activity name. Names must follow XML element naming conventions, limiting characters to letters, numbers and certain special characters only (spaces are not permited). For further information on XML element naming conventions, see <ulink url="http://www.w3.org/TR/xml/">http://www.w3.org/TR/xml/</ulink>
+ </para>
+ </section>
+ <section>
+ <title>Join Behavior tab</title>
+ <figure>
+ <title>Join Behavior tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Common_Property_Tabs_02.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Join conditions are evaluated by the target activities of links. With the drop-down <guilabel>Expression language</guilabel> menu, enter an XPath expression that defines the condition of the join. The <guilabel>Suppress Join Failure</guilabel> behavior defined by the process or a containing scope can be overridden with the radio buttons at the bottom.
+ </para>
+ </section>
+ <section>
+ <title>Correlation tab</title>
+ <figure>
+ <title>Correlation tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Common_Property_Tabs_03.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Correlation</guilabel> tab lists all correlations that are used by the currently selected <guilabel>Receive</guilabel>, <guilabel>Reply</guilabel> or <guilabel>Invoke</guilabel> activity. Correlations can be added to or removed from the activity through this tab.<!-- See <xref linkend=""/> --> <!--Correlation Sets section--><!-- for more information. -->
+ </para>
+ </section>
+ <section id="Common_Property_sheet_tabs-Namespaces_tab">
+ <title>Namespaces tab</title>
+ <figure>
+ <title>Namespaces tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Common_Property_Tabs_04.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Namespaces are URIs (Uniform Resource Identifiers) that uniquely identify a set of resources on the Internet. Because URIs can be very lengthy, shorthand aliases called prefixes are typically defined and used in XML files to make the XML more readable.
+ </para>
+ <para>
+ The <guilabel>Namespaces</guilabel> tab lists all of the namespace URIs and their prefixes in scope for the currently selected activity. Whenever you create a reference to an external property (an element defined in an XSD) whose namespace has not yet been assigned a prefix, the BPEL Designer will prompt you to create a prefix. This can also be done beforehand through the <guilabel>Namespace</guilabel> tab of the <guilabel>Properties</guilabel> sheet for the property by clicking the <guibutton>Assign Prefix</guibutton> button.
+ </para>
+ </section>
+ <section>
+ <title>Message Exchange tab</title>
+ <figure>
+ <title>Message Exchange tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Common_Property_Tabs_05.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Message exchanges are used to associate a <property>Reply</property> activity with an <property>inbound message</property> activity and can be either a <property>Receive</property>, <property>OnMessage</property> or <property>OnEvent</property>. These are descriptive names given to a request-response conversation between two parties and must conform to XML element naming conventions. For further informaiton on XML element naming conventions, see <ulink url="http://www.w3.org/TR/xml/">http://www.w3.org/TR/xml/</ulink>.
+ </para>
+ </section>
+ </section>
+ <section>
+ <title>Process Property sheet tabs</title>
+ <para>
+ This section describes the Property Sheet tabs that are unique to process activities.
+ </para>
+ <section>
+ <title>Description tab</title>
+ <figure>
+ <title>Description tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Property_Sheet_01.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Description</guilabel> tab allows you to change the process name and its namespace URI. All namespaces should follow the W3C recommendation (<ulink url="http://www.w3.org/2005/07/13-nsuri">http://www.w3.org/2005/07/13-nsuri</ulink>.
+ </para>
+ </section>
+ <section>
+ <title>Details tab</title>
+ <figure>
+ <title>Details tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Property_Sheet_02.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Process Details</guilabel> tab allows you to select the default <guilabel>Expression</guilabel> and <guilabel>Query</guilabel> language. If you set <guilabel>Exit on Standard Fault</guilabel> to <guilabel>Yes</guilabel>, it will cause the process to terminate if a WS-BPEL standard fault, other than a join failure, is encountered.
+ </para>
+ <note>
+ <para>
+ Currently only XPath 1.0 is supported.
+ </para>
+ </note>
+ </section>
+ <section>
+ <title>Join Behavior tab</title>
+ <figure>
+ <title>Join Behavior tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Property_Sheet_03.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Process Join Behavior</guilabel> tab determines how the process will handle join failures. When set to <guilabel>Yes</guilabel>, any <exceptionname>JoinFailure</exceptionname> fault (detailed in the WS-BPEL Standard Faults section of the OASIS specification: <ulink url="http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html#_Toc164738543">http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html#_Toc164738543</ulink>) will be ignored for all activities in the process. An activity is able override this value, or inherit the value from its parent.
+ </para>
+ </section>
+ <section>
+ <title>Imports tab</title>
+ <figure>
+ <title>Imports tab</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Property_Sheet_04.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Imports Detail</guilabel> tab lists all of the imported service interfaces (WSDL) and XML Schemas (XSD) used by the process. Additional WSDL and XSD files can be added to the imports on this page. After a new resource has been imported, you may assign a prefix to the namespace URI from the <guilabel>Namespaces</guilabel> tab.
+ </para>
+ <note>
+ <para>
+ Imported resources must be located in the project root folder (<filename>bpelContent</filename> by default) or in a sub-folder.
+ </para>
+ </note>
+ </section>
+ <section>
+ <title>Namespaces</title>
+ <para>
+ For information on the <guilabel>Namespaces</guilabel> tab, see <xref linkend="Common_Property_sheet_tabs-Namespaces_tab" />
+ </para>
+ </section>
+ </section>
+ <section>
+ <title>Details tab</title>
+ <para>
+ This section describes the <guilabel>Details</guilbel> tab and its attributes as they will appear for individual activities. Several activities share common detail elements, but all are presented here for your reference.
+ </para>
+ <section>
+ <title>Partner Links</title>
+ <figure>
+ <title>Partner Links</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Details_tab_01.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ <property>Partner Links</property> help define the conversations between two services. They define the roles each partner plays in the conversation and the types of messages that can be exchanged between them.
+ </para>
+ <para>
+ The <guilabel>Details</guilabel> tab allows you to choose the <guilabel>Expression language</guilabel> and <guilabel>Query language</guilabel> for selecting elements of a <property>Partner Link</property>.
+ </para>
+ <note>
+ <para>
+ Currently only XPath 1.0 is supported.
+ </para>
+ </note>
+ </section>
+ <section>
+ <title>Variables</title>
+ <figure>
+ <title>Variables</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Details_tab_02.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ <property>Variables</property> are used in BPEL to store inbound and outbound messages for examination and manipulation by the business logic; they can also be used to save intermediate results and the process state. There are three kinds of variable declarations: messages types, XML Schema types and XML Schema elements.
+ </para>
+ <para>
+ The <guilabel>Details</guilabel> tab allows you to define the variable declared type and its structure by selecting from known types. Once a variable type has been defined, the structure of the variable is shown. Clicking on the hyperlink will open the WSDL or XML Schema editor for the selected type or element. <!--See the Type Selection dialogs section for more information.-->
+ </para>
+ </section>
+ <section>
+ <title>Empty</title>
+ <figure>
+ <title>Empty</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Details_tab_03.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <property>Empty</property> activity is a placeholder for any undefined <property>Basic Activity</property> and is intended to eventually be replaced by a real activity before the process can actually be executed. If the BPEL engine encounters an <property>Empty</property> activity, it is ignored.
+ </para>
+ <para>
+ The <guilabel>Details</guilabel> tab allows you to select one of four basic actions: <property>Invoke</property>, <property>Receive</property>, <property>Reply</property> and <property>Assign</property>. Hovering the mouse over one of the selection buttons displays a brief description of that activity.
+ </para>
+ </section>
+ <section>
+ <title>Invoke</title>
+ <figure>
+ <title>Invoke</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/reference/Details_tab_04.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <property>Invoke</property> activity requires a <property>Partner Link</property> name and an <property>Operation</property> as defined in the WSDL for that service. You can use the <guilabel>Quick Pick</guilabel> tree control at the right to select the <property>Partner Link</property> and <property>Operation</property>. For one-way invocations of the service, specify only an <property>Input Variable</property>; for request-response invocations you must also specify an <property>Output Variable</property>.
+ </para>
+ <para>
+ The checkbox labeled <guilabel>Use WSDL Message Parts Mapping</guilabel> provides an alternative to using variables for the request message.
+ </para>
+ </section>
+ </section>
+ </section>
</section>
<section>
<title>Editors</title>
13 years, 6 months
JBoss Tools SVN: r31769 - trunk/jst/tests/org.jboss.tools.jst.web.kb.test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-01 21:38:05 -0400 (Wed, 01 Jun 2011)
New Revision: 31769
Modified:
trunk/jst/tests/org.jboss.tools.jst.web.kb.test/plugin.xml
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/jst/tests/org.jboss.tools.jst.web.kb.test/plugin.xml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.kb.test/plugin.xml 2011-06-02 01:33:15 UTC (rev 31768)
+++ trunk/jst/tests/org.jboss.tools.jst.web.kb.test/plugin.xml 2011-06-02 01:38:05 UTC (rev 31769)
@@ -7,6 +7,7 @@
<validator
class="org.jboss.tools.jst.web.kb.test.validation.TestValidator"
id="org.jboss.tools.jst.web.kb.test.TestValidator"
+ name="Test Validator"
dependent="true">
</validator>
</extension>
13 years, 6 months
JBoss Tools SVN: r31768 - in trunk/jsf/plugins/org.jboss.tools.jsf: src/org/jboss/tools/jsf/web/validation and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-01 21:33:15 -0400 (Wed, 01 Jun 2011)
New Revision: 31768
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/plugin.properties
trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFELValidationDelegate.java
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/plugin.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/plugin.properties 2011-06-02 01:31:35 UTC (rev 31767)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/plugin.properties 2011-06-02 01:33:15 UTC (rev 31768)
@@ -15,4 +15,6 @@
KB_REQUIRED_FOR_JSF=JSF
-CreateJSF2Composite=Create JSF2 composite...
\ No newline at end of file
+CreateJSF2Composite=Create JSF2 composite...
+
+JSFELValidationDelegate=JSF EL Validator
\ No newline at end of file
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml 2011-06-02 01:31:35 UTC (rev 31767)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml 2011-06-02 01:33:15 UTC (rev 31768)
@@ -482,8 +482,10 @@
</extension>
<extension
+ id="org.jboss.tools.jsf.web.validation.JSFELValidationDelegate"
point="org.jboss.tools.jst.web.kb.elValidationDelegate">
<delegate
+ name="%JSFELValidationDelegate"
class="org.jboss.tools.jsf.web.validation.JSFELValidationDelegate">
</delegate>
</extension>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFELValidationDelegate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFELValidationDelegate.java 2011-06-02 01:31:35 UTC (rev 31767)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFELValidationDelegate.java 2011-06-02 01:33:15 UTC (rev 31768)
@@ -31,6 +31,7 @@
* @author Alexey Kazakov
*/
public class JSFELValidationDelegate implements IELValidationDelegate {
+ public static final String ID = "org.jboss.tools.jsf.JSFELValidationDelegate";
/* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.validation.IELValidationDelegate#getValidatingProjects(org.eclipse.core.resources.IProject)
@@ -58,4 +59,8 @@
}
return false;
}
+
+ public String getID() {
+ return ID;
+ }
}
\ No newline at end of file
13 years, 6 months
JBoss Tools SVN: r31767 - trunk/esb/plugins/org.jboss.tools.esb.validator.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-01 21:31:35 -0400 (Wed, 01 Jun 2011)
New Revision: 31767
Modified:
trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.properties
trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.xml
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.properties 2011-06-02 01:28:18 UTC (rev 31766)
+++ trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.properties 2011-06-02 01:31:35 UTC (rev 31767)
@@ -3,4 +3,5 @@
PreferencePage_Validator=ESB Validator
-KBProblemName=ESB Problem
\ No newline at end of file
+KBProblemName=ESB Problem
+ESBCoreValidator=ESB Core Validator
\ No newline at end of file
Modified: trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.xml 2011-06-02 01:28:18 UTC (rev 31766)
+++ trunk/esb/plugins/org.jboss.tools.esb.validator/plugin.xml 2011-06-02 01:31:35 UTC (rev 31767)
@@ -17,6 +17,7 @@
point="org.jboss.tools.jst.web.kb.validator">
<validator
class="org.jboss.tools.esb.validator.ESBCoreValidator"
+ name="%ESBCoreValidator"
id="org.jboss.tools.esb.validator.ESBCoreValidator">
</validator>
</extension>
13 years, 6 months
JBoss Tools SVN: r31766 - in trunk/seam/plugins/org.jboss.tools.seam.core: src/org/jboss/tools/seam/internal/core/validation and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-01 21:28:18 -0400 (Wed, 01 Jun 2011)
New Revision: 31766
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties 2011-06-02 01:26:16 UTC (rev 31765)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties 2011-06-02 01:28:18 UTC (rev 31766)
@@ -6,4 +6,6 @@
KBProblemName=Seam Problem
-KB_REQUIRED_FOR_SEAM=Seam
\ No newline at end of file
+KB_REQUIRED_FOR_SEAM=Seam
+SeamCoreValidator=Seam Core Validator
+SeamELValidationDelegate=Seam EL Validator
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2011-06-02 01:26:16 UTC (rev 31765)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2011-06-02 01:28:18 UTC (rev 31766)
@@ -518,16 +518,20 @@
</extension>
<extension
+ id="CoreValidator"
point="org.jboss.tools.jst.web.kb.validator">
<validator
class="org.jboss.tools.seam.internal.core.validation.SeamCoreValidator"
+ name="%SeamCoreValidator"
id="org.jboss.tools.seam.core.CoreValidator">
</validator>
</extension>
<extension
+ id="SeamELValidationDelegate"
point="org.jboss.tools.jst.web.kb.elValidationDelegate">
<delegate
+ name="%SeamELValidationDelegate"
class="org.jboss.tools.seam.internal.core.validation.SeamELValidationDelegate">
</delegate>
</extension>
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2011-06-02 01:26:16 UTC (rev 31765)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2011-06-02 01:28:18 UTC (rev 31766)
@@ -46,6 +46,7 @@
import org.jboss.tools.jst.web.kb.internal.validation.SimpleValidatingProjectTree;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatingProjectSet;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
+import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
import org.jboss.tools.jst.web.kb.validation.IProjectValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectSet;
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectTree;
@@ -201,7 +202,7 @@
}
private boolean validateBuilderOrder(IProject project) throws CoreException {
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), SeamPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getId(), SeamPreferences.getInstance());
}
/*
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java 2011-06-02 01:26:16 UTC (rev 31765)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java 2011-06-02 01:28:18 UTC (rev 31766)
@@ -12,6 +12,7 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
+import org.jboss.tools.jst.web.kb.internal.validation.ELValidator;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
import org.jboss.tools.jst.web.kb.validation.IELValidationDelegate;
@@ -24,6 +25,7 @@
* @author Alexey Kazakov
*/
public class SeamELValidationDelegate implements IELValidationDelegate {
+ public static final String ID = "org.jboss.tools.seam.core.SeamELValidationDelegate";
/* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.validation.IELValidationDelegate#getValidatingProjects(org.eclipse.core.resources.IProject)
@@ -49,10 +51,15 @@
private boolean validateBuilderOrder(IProject project) throws CoreException {
//It's EL, hence EL preferences, not Seam preferences.
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELSeverityPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getID(), ELSeverityPreferences.getInstance()); //$NON-NLS-1$
}
public String getBuilderId() {
return SeamCoreBuilder.BUILDER_ID;
}
+
+ public String getID() {
+ return ID;
+ }
+
}
\ No newline at end of file
13 years, 6 months
JBoss Tools SVN: r31765 - in trunk/cdi/plugins/org.jboss.tools.cdi.core: src/org/jboss/tools/cdi/internal/core/validation and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-01 21:26:16 -0400 (Wed, 01 Jun 2011)
New Revision: 31765
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.properties
trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.xml
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.properties 2011-06-02 01:22:37 UTC (rev 31764)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.properties 2011-06-02 01:26:16 UTC (rev 31765)
@@ -1,3 +1,5 @@
KBProblemName=CDI Problem
-KB_REQUIRED_FOR_CDI=CDI
\ No newline at end of file
+KB_REQUIRED_FOR_CDI=CDI
+CDICoreValidator=CDI Core Validator
+CDIELValidationDelegate=CDI EL Validator
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.xml
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.xml 2011-06-02 01:22:37 UTC (rev 31764)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/plugin.xml 2011-06-02 01:26:16 UTC (rev 31765)
@@ -138,16 +138,20 @@
</extension>
<extension
+ id="CoreValidator"
point="org.jboss.tools.jst.web.kb.validator">
<validator
class="org.jboss.tools.cdi.internal.core.validation.CDICoreValidator"
+ name="%CDICoreValidator"
id="org.jboss.tools.cdi.core.CoreValidator">
</validator>
</extension>
<extension
+ id="CDIELValidationDelegate"
point="org.jboss.tools.jst.web.kb.elValidationDelegate">
<delegate
+ name="%CDIELValidationDelegate"
class="org.jboss.tools.cdi.internal.core.validation.CDIELValidationDelegate">
</delegate>
</extension>
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-06-02 01:22:37 UTC (rev 31764)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-06-02 01:26:16 UTC (rev 31765)
@@ -183,7 +183,7 @@
}
private boolean validateBuilderOrder(IProject project) throws CoreException {
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), CDIPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getId(), CDIPreferences.getInstance());
}
/*
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java 2011-06-02 01:22:37 UTC (rev 31764)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java 2011-06-02 01:26:16 UTC (rev 31765)
@@ -15,6 +15,7 @@
import org.jboss.tools.cdi.core.CDICoreBuilder;
import org.jboss.tools.cdi.core.CDICoreNature;
import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.jst.web.kb.internal.validation.ELValidator;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
import org.jboss.tools.jst.web.kb.validation.IELValidationDelegate;
@@ -24,6 +25,7 @@
* @author Alexey Kazakov
*/
public class CDIELValidationDelegate implements IELValidationDelegate {
+ public static final String ID = "org.jboss.tools.cdi.core.CDIELValidationDelegate";
/* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.validation.IELValidationDelegate#getValidatingProjects(org.eclipse.core.resources.IProject)
@@ -49,10 +51,15 @@
private boolean validateBuilderOrder(IProject project) throws CoreException {
//It's EL, hence EL preferences, not CDI preferences.
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELSeverityPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getID(), ELSeverityPreferences.getInstance()); //$NON-NLS-1$
}
+ public String getID() {
+ return ID;
+ }
+
public String getBuilderId() {
return CDICoreBuilder.BUILDER_ID;
}
+
}
\ No newline at end of file
13 years, 6 months
JBoss Tools SVN: r31764 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb: schema and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-01 21:22:37 -0400 (Wed, 01 Jun 2011)
New Revision: 31764
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/elValidationDelegate.exsd
trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/validator.exsd
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java
Log:
JBIDE-9028
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.properties 2011-06-02 01:22:37 UTC (rev 31764)
@@ -5,4 +5,6 @@
KBProblemName=EL Knowledge Base Problem
KBBuilderProblemName=Knowledge Base Builder Problem
-BuilderOrderProblemName=Builders Order Problem
\ No newline at end of file
+BuilderOrderProblemName=Builders Order Problem
+
+ELValidator=EL Validator
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2011-06-02 01:22:37 UTC (rev 31764)
@@ -142,6 +142,8 @@
</persistent>
<attribute name="builder">
</attribute>
+ <attribute name="validator">
+ </attribute>
</extension>
<extension id="kbproblemmarker" name="%KBProblemName" point="org.eclipse.core.resources.markers">
@@ -241,10 +243,12 @@
</extension>
<extension
+ id="ELValidator"
point="org.jboss.tools.jst.web.kb.validator">
<validator
class="org.jboss.tools.jst.web.kb.internal.validation.ELValidator"
id="org.jboss.tools.jst.web.kb.ELValidator"
+ name="%ELValidator"
dependent="true">
</validator>
</extension>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/elValidationDelegate.exsd
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/elValidationDelegate.exsd 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/elValidationDelegate.exsd 2011-06-02 01:22:37 UTC (rev 31764)
@@ -66,6 +66,13 @@
</appInfo>
</annotation>
</attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
</complexType>
</element>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/validator.exsd
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/validator.exsd 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/schema/validator.exsd 2011-06-02 01:22:37 UTC (rev 31764)
@@ -73,6 +73,13 @@
</documentation>
</annotation>
</attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
</complexType>
</element>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.properties 2011-06-02 01:22:37 UTC (rev 31764)
@@ -1,4 +1,4 @@
-WRONG_BUILDER_ORDER=Project {0} cannot be validated: Validation Builder should follow {1}.
+WRONG_BUILDER_ORDER={1} cannot run on project {0} because Validation Builder precedes {2}.
CHANGE_BUILDER_ORDER=Change Order of Builders.
VALIDATION_CONTEXT_LINKED_RESOURCE_PATH_MUST_NOT_BE_NULL=Linked resource path must not be null\!
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java 2011-06-02 01:22:37 UTC (rev 31764)
@@ -550,6 +550,7 @@
}
private boolean validateBuilderOrder(IProject project) throws CoreException {
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELSeverityPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getId(), ELSeverityPreferences.getInstance());
}
-}
\ No newline at end of file
+
+}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java 2011-06-01 23:08:45 UTC (rev 31763)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java 2011-06-02 01:22:37 UTC (rev 31764)
@@ -21,6 +21,7 @@
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtension;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
@@ -113,6 +114,7 @@
public static final String ORDER_PROBLEM_MARKER_TYPE = "org.jboss.tools.jst.web.kb.builderOrderProblem"; //$NON-NLS-1$
private static String ATTR_BUILDER = "builder"; //$NON-NLS-1$
+ private static String ATTR_VALIDATOR = "validator"; //$NON-NLS-1$
/**
* Helper method to be called by IValidator implementations.
@@ -124,14 +126,15 @@
*
* @param project
* @param builderId
+ * @param validatorId
* @param preferences
* @return
* @throws CoreException
*/
- public static boolean validateBuilderOrder(IProject project, String builderId, SeverityPreferences preferences) throws CoreException {
+ public static boolean validateBuilderOrder(IProject project, String builderId, String validatorId, SeverityPreferences preferences) throws CoreException {
int severity = getSeverity(preferences.getBuilderOrderPreference(project));
boolean isCorrect = isCorrectOrder(project, builderId);
- IMarker marker = findBuilderOrderMarker(project, builderId);
+ IMarker marker = findBuilderOrderMarker(project, builderId, validatorId);
if(isCorrect || severity <= IMarker.SEVERITY_INFO) {
if(marker != null) {
ResourcesPlugin.getWorkspace().deleteMarkers(new IMarker[]{marker});
@@ -145,8 +148,9 @@
marker = project.createMarker(ORDER_PROBLEM_MARKER_TYPE);
marker.setAttribute(ATTR_BUILDER, builderId);
marker.setAttribute(IMarker.SEVERITY, severity);
- String message = NLS.bind(KbMessages.WRONG_BUILDER_ORDER, project.getName(), findBuilderName(builderId));
+ String message = NLS.bind(KbMessages.WRONG_BUILDER_ORDER, new String[]{project.getName(), findValidatorName(validatorId), findBuilderName(builderId)});
marker.setAttribute(IMarker.MESSAGE, message);
+ marker.setAttribute(ATTR_VALIDATOR, validatorId);
}
}
return isCorrect || severity <= IMarker.SEVERITY_INFO;
@@ -166,11 +170,12 @@
return true;
}
- private static IMarker findBuilderOrderMarker(IProject project, String builderId) throws CoreException {
+ private static IMarker findBuilderOrderMarker(IProject project, String builderId, String validatorId) throws CoreException {
IMarker result = null;
IMarker[] ms = project.findMarkers(ORDER_PROBLEM_MARKER_TYPE, false, IResource.DEPTH_ZERO);
for (IMarker m: ms) {
- if(builderId.equals(m.getAttribute(ATTR_BUILDER, null))) {
+ if(builderId.equals(m.getAttribute(ATTR_BUILDER, null))
+ && validatorId.equals(m.getAttribute(ATTR_VALIDATOR))) {
result = m;
}
}
@@ -182,6 +187,20 @@
return (ext != null && ext.getLabel() != null) ? ext.getLabel() : builderId;
}
+ private static String findValidatorName(String validatorId) {
+ IExtension ext = Platform.getExtensionRegistry().getExtension(validatorId);
+ if(ext != null) {
+ IConfigurationElement[] es = ext.getConfigurationElements();
+ if(es.length > 0) {
+ String name = es[0].getAttribute("name"); //$NON-NLS-1$
+ if(name != null) {
+ return name;
+ }
+ }
+ }
+ return validatorId;
+ }
+
private static int getSeverity(String severityPreferenceValue) {
return (SeverityPreferences.IGNORE.equals(severityPreferenceValue))
? IMarker.SEVERITY_INFO
13 years, 6 months
JBoss Tools SVN: r31763 - in trunk: jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-06-01 19:08:45 -0400 (Wed, 01 Jun 2011)
New Revision: 31763
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java
Log:
https://issues.jboss.org/browse/JBIDE-9028
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-06-01 23:01:32 UTC (rev 31762)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-06-01 23:08:45 UTC (rev 31763)
@@ -183,7 +183,7 @@
}
private boolean validateBuilderOrder(IProject project) throws CoreException {
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getId(), CDIPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), CDIPreferences.getInstance());
}
/*
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java 2011-06-01 23:01:32 UTC (rev 31762)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIELValidationDelegate.java 2011-06-01 23:08:45 UTC (rev 31763)
@@ -15,7 +15,6 @@
import org.jboss.tools.cdi.core.CDICoreBuilder;
import org.jboss.tools.cdi.core.CDICoreNature;
import org.jboss.tools.cdi.core.CDICorePlugin;
-import org.jboss.tools.jst.web.kb.internal.validation.ELValidator;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
import org.jboss.tools.jst.web.kb.validation.IELValidationDelegate;
@@ -50,11 +49,10 @@
private boolean validateBuilderOrder(IProject project) throws CoreException {
//It's EL, hence EL preferences, not CDI preferences.
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELValidator.ID + "-CDI", ELSeverityPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELSeverityPreferences.getInstance());
}
public String getBuilderId() {
return CDICoreBuilder.BUILDER_ID;
}
-
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java 2011-06-01 23:01:32 UTC (rev 31762)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java 2011-06-01 23:08:45 UTC (rev 31763)
@@ -550,7 +550,6 @@
}
private boolean validateBuilderOrder(IProject project) throws CoreException {
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getId(), ELSeverityPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELSeverityPreferences.getInstance());
}
-
-}
+}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java 2011-06-01 23:01:32 UTC (rev 31762)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidatorManager.java 2011-06-01 23:08:45 UTC (rev 31763)
@@ -124,12 +124,11 @@
*
* @param project
* @param builderId
- * @param validatorId
* @param preferences
* @return
* @throws CoreException
*/
- public static boolean validateBuilderOrder(IProject project, String builderId, String validatorId, SeverityPreferences preferences) throws CoreException {
+ public static boolean validateBuilderOrder(IProject project, String builderId, SeverityPreferences preferences) throws CoreException {
int severity = getSeverity(preferences.getBuilderOrderPreference(project));
boolean isCorrect = isCorrectOrder(project, builderId);
IMarker marker = findBuilderOrderMarker(project, builderId);
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2011-06-01 23:01:32 UTC (rev 31762)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2011-06-01 23:08:45 UTC (rev 31763)
@@ -46,7 +46,6 @@
import org.jboss.tools.jst.web.kb.internal.validation.SimpleValidatingProjectTree;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatingProjectSet;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
-import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
import org.jboss.tools.jst.web.kb.validation.IProjectValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectSet;
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectTree;
@@ -202,7 +201,7 @@
}
private boolean validateBuilderOrder(IProject project) throws CoreException {
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), getId(), SeamPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), SeamPreferences.getInstance());
}
/*
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java 2011-06-01 23:01:32 UTC (rev 31762)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidationDelegate.java 2011-06-01 23:08:45 UTC (rev 31763)
@@ -12,7 +12,6 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
-import org.jboss.tools.jst.web.kb.internal.validation.ELValidator;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
import org.jboss.tools.jst.web.kb.validation.IELValidationDelegate;
@@ -50,11 +49,10 @@
private boolean validateBuilderOrder(IProject project) throws CoreException {
//It's EL, hence EL preferences, not Seam preferences.
- return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELValidator.ID + "-Seam", ELSeverityPreferences.getInstance());
+ return ValidatorManager.validateBuilderOrder(project, getBuilderId(), ELSeverityPreferences.getInstance());
}
public String getBuilderId() {
return SeamCoreBuilder.BUILDER_ID;
}
-
}
\ No newline at end of file
13 years, 6 months