JBoss Tools SVN: r35008 - in trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test: validation and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2011-09-23 14:18:02 -0400 (Fri, 23 Sep 2011)
New Revision: 35008
Added:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidationTestMessages.java
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidatorTest.java
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/messages.properties
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java
Log:
JBIDE-9588
Poor performance of XHTML template validation
JUnit Test for XHTML Syntax Validator is added
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java 2011-09-23 18:17:14 UTC (rev 35007)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java 2011-09-23 18:18:02 UTC (rev 35008)
@@ -27,6 +27,8 @@
import org.jboss.tools.jsf.test.validation.JSF2ComponentsInClassFolderTest;
import org.jboss.tools.jsf.test.validation.JSF2ComponentsValidatorTest;
import org.jboss.tools.jsf.test.validation.WebContentTest;
+import org.jboss.tools.jsf.test.validation.XHTMLValidatorTest;
+import org.jboss.tools.jsf.web.validation.XHTMLValidator;
import org.jboss.tools.test.util.ProjectImportTestSetup;
public class JsfAllTests {
@@ -50,6 +52,7 @@
old.addTestSuite(ModelFormat_2_0_0_Test.class);
old.addTestSuite(JSFBeansTest.class);
suite.addTestSuite(WebContentTest.class);
+ suite.addTestSuite(XHTMLValidatorTest.class);
suite.addTestSuite(XMLCatalogTest.class);
suite.addTestSuite(JSFPaletteTest.class);
suite.addTest(new ProjectImportTestSetup(old,
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidationTestMessages.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidationTestMessages.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidationTestMessages.java 2011-09-23 18:18:02 UTC (rev 35008)
@@ -0,0 +1,20 @@
+package org.jboss.tools.jsf.test.validation;
+
+import org.eclipse.osgi.util.NLS;
+
+public class XHTMLValidationTestMessages {
+ private static final String BUNDLE_NAME = "org.jboss.tools.jsf.test.validation.messages"; //$NON-NLS-1$
+
+ public static String XHTML_CONTENT_TEMPLATE;
+ public static String XHTML_GOOD_PUBLIC_ID;
+ public static String XHTML_WRONG_PUBLIC_ID;
+ public static String XHTML_GOOD_URI;
+ public static String XHTML_WRONG_URI;
+ public static String XHTML_GOOD_TAGNAME;
+ public static String XHTML_WRONG_TAGNAME;
+
+ static {
+ NLS.initializeMessages(BUNDLE_NAME, XHTMLValidationTestMessages.class);
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidationTestMessages.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidatorTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidatorTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidatorTest.java 2011-09-23 18:18:02 UTC (rev 35008)
@@ -0,0 +1,184 @@
+package org.jboss.tools.jsf.test.validation;
+
+import java.io.InputStream;
+import java.io.StringBufferInputStream;
+import java.text.MessageFormat;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.xerces.impl.dv.dtd.NOTATIONDatatypeValidator;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceDelta;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.wst.validation.ValidationResult;
+import org.eclipse.wst.validation.ValidationState;
+import org.eclipse.wst.validation.internal.core.Message;
+import org.eclipse.wst.validation.internal.provisional.core.IMessage;
+import org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator;
+import org.eclipse.wst.xml.core.internal.validation.core.ValidationReport;
+import org.jboss.tools.common.base.test.validation.TestUtil;
+import org.jboss.tools.jsf.web.validation.JSFValidationMessage;
+import org.jboss.tools.jsf.web.validation.XHTMLValidator;
+import org.jboss.tools.jsf.web.validation.i18n.I18nValidationComponent;
+import org.jboss.tools.jst.web.kb.preferences.ELSeverityPreferences;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.ResourcesUtils;
+import org.jboss.tools.tests.AbstractResourceMarkerTest;
+
+public class XHTMLValidatorTest extends AbstractResourceMarkerTest {
+
+ protected static String PLUGIN_ID = "org.jboss.tools.jsf.test";
+ protected static String PROJECT_NAME = "jsf2pr";
+ protected static String PROJECT_PATH = "/projects/jsf2pr";
+
+ protected static final String FILE_NAME = "WebContent/XHTMLValidatorTest.xhtml";
+ protected static final double NOT_BAD_DIFF_PERCENTAGE = 200.0;
+
+ IProject project;
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#setUp()
+ */
+ @Override
+ protected void setUp() throws Exception {
+ project = ResourcesPlugin.getWorkspace().getRoot().getProject(PROJECT_NAME);
+ if(!project.exists()) {
+ project = ResourcesUtils.importProject(PLUGIN_ID, PROJECT_PATH);
+ }
+ TestUtil._waitForValidation(project);
+ }
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#tearDown()
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ boolean saveAutoBuild = ResourcesUtils.setBuildAutomatically(false);
+ project.delete(true, true, null);
+ JobUtils.waitForIdle();
+ ResourcesUtils.setBuildAutomatically(saveAutoBuild);
+ }
+
+ public void testWebContentValidation() throws CoreException {
+ XHTMLValidator validator = new XHTMLValidator();
+ ValidationState state = new ValidationState();
+ try {
+ // Validate good file with no XHTML Syntax errors
+ IFile file = createTestFile(XHTMLValidationTestMessages.XHTML_CONTENT_TEMPLATE,
+ XHTMLValidationTestMessages.XHTML_GOOD_PUBLIC_ID, XHTMLValidationTestMessages.XHTML_GOOD_URI,
+ XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME, XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME);
+ long start = System.currentTimeMillis();
+ ValidationResult result = validator.validate(file, IResourceDelta.CHANGED, state, new NullProgressMonitor());
+ long goodValidationTime = System.currentTimeMillis() - start;
+ System.out.println("Good XHTML file with no XHTML Syntax errors validation time: " + goodValidationTime + " ms");
+ assertNotNull("No validation result is returned", result);
+ assertNotNull("No validation result is returned", result.getReporter(null));
+ List messages = result.getReporter(null).getMessages();
+ assertEquals("Wrong number of error messages reported", 0, messages == null ? 0 : messages.size());
+
+ // Validate bad file with no XHTML Syntax errors
+ file = createTestFile(XHTMLValidationTestMessages.XHTML_CONTENT_TEMPLATE,
+ XHTMLValidationTestMessages.XHTML_WRONG_PUBLIC_ID, XHTMLValidationTestMessages.XHTML_WRONG_URI,
+ XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME, XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME);
+ start = System.currentTimeMillis();
+ result = validator.validate(file, IResourceDelta.CHANGED, state, new NullProgressMonitor());
+ long badValidationTime = System.currentTimeMillis() - start;
+ System.out.println("Bad XHTML file with no XHTML Syntax errors validation time: " + badValidationTime + " ms");
+ assertNotNull("No validation result is returned", result);
+ assertNotNull("No validation result is returned", result.getReporter(null));
+ messages = result.getReporter(null).getMessages();
+ assertEquals("Wrong number of error messages reported", 0, messages == null ? 0 : messages.size());
+
+ // Check that the difference between good and bad files validation time is not greater that NOT_BAD_DIFF_PERCENTAGE (%) of a good value
+ double diff = 100*(badValidationTime - goodValidationTime)/goodValidationTime;
+ System.out.println("(With no errors) Validation time difference: " + diff + "%");
+ assertTrue("Validation time difference between good and wrong content is greater than " + NOT_BAD_DIFF_PERCENTAGE + "%", (diff < NOT_BAD_DIFF_PERCENTAGE));
+
+ // Validate good file with XHTML Syntax errors
+ file = createTestFile(XHTMLValidationTestMessages.XHTML_CONTENT_TEMPLATE,
+ XHTMLValidationTestMessages.XHTML_GOOD_PUBLIC_ID, XHTMLValidationTestMessages.XHTML_GOOD_URI,
+ XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME, XHTMLValidationTestMessages.XHTML_WRONG_TAGNAME);
+ start = System.currentTimeMillis();
+ result = validator.validate(file, IResourceDelta.CHANGED, state, new NullProgressMonitor());
+ goodValidationTime = System.currentTimeMillis() - start;
+ System.out.println("Good XHTML file with XHTML Syntax errors validation time: " + goodValidationTime + " ms");
+ assertNotNull("No validation result is returned", result);
+ assertNotNull("No validation result is returned", result.getReporter(null));
+ messages = result.getReporter(null).getMessages();
+ assertEquals("Wrong number of error messages reported", 2, messages == null ? 0 : messages.size());
+ Set<String> localizedErrorMessages = new HashSet<String>();
+ localizedErrorMessages.add(MessageFormat.format(JSFValidationMessage.XHTML_VALIDATION_NO_END_TAG,
+ XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME));
+ localizedErrorMessages.add(MessageFormat.format(JSFValidationMessage.XHTML_VALIDATION_NO_START_TAG,
+ XHTMLValidationTestMessages.XHTML_WRONG_TAGNAME));
+ for (Object m : messages) {
+ assertTrue("Wrong type of validation message is returned", (m instanceof Message));
+ Message message = (Message)m;
+ assertTrue("Unexpected error message found: " + message.getText(), localizedErrorMessages.contains(message.getText()));
+ }
+
+ // Validate bad file with XHTML Syntax errors
+ file = createTestFile(XHTMLValidationTestMessages.XHTML_CONTENT_TEMPLATE,
+ XHTMLValidationTestMessages.XHTML_WRONG_PUBLIC_ID, XHTMLValidationTestMessages.XHTML_WRONG_URI,
+ XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME, XHTMLValidationTestMessages.XHTML_WRONG_TAGNAME);
+ start = System.currentTimeMillis();
+ result = validator.validate(file, IResourceDelta.CHANGED, state, new NullProgressMonitor());
+ badValidationTime = System.currentTimeMillis() - start;
+ System.out.println("Bad XHTML file with XHTML Syntax errors validation time: " + badValidationTime + " ms");
+ assertNotNull("No validation result is returned", result);
+ assertNotNull("No validation result is returned", result.getReporter(null));
+ messages = result.getReporter(null).getMessages();
+ assertEquals("Wrong number of error messages reported", 2, messages == null ? 0 : messages.size());
+ localizedErrorMessages = new HashSet<String>();
+ localizedErrorMessages.add(MessageFormat.format(JSFValidationMessage.XHTML_VALIDATION_NO_END_TAG,
+ XHTMLValidationTestMessages.XHTML_GOOD_TAGNAME));
+ localizedErrorMessages.add(MessageFormat.format(JSFValidationMessage.XHTML_VALIDATION_NO_START_TAG,
+ XHTMLValidationTestMessages.XHTML_WRONG_TAGNAME));
+ for (Object m : messages) {
+ assertTrue("Wrong type of validation message is returned", (m instanceof Message));
+ Message message = (Message)m;
+ assertTrue("Unexpected error message found: " + message.getText(), localizedErrorMessages.contains(message.getText()));
+ }
+ // Check that the difference between good and bad files validation time is not greater that NOT_BAD_DIFF_PERCENTAGE (%) of a good value
+ diff = 100*(badValidationTime - goodValidationTime)/goodValidationTime;
+ System.out.println("(With errors) Validation time difference: " + diff + "%");
+ assertTrue("Validation time difference between good and wrong content is greater than " + NOT_BAD_DIFF_PERCENTAGE + "%", (diff < NOT_BAD_DIFF_PERCENTAGE));
+ } finally {
+ removeTestFile();
+ }
+ }
+
+ private IFile createTestFile(String template, String publicId, String uri, String openingTagName, String closingTagName) {
+ IFile testFile = project.getFile(FILE_NAME);
+ String content = MessageFormat.format(template, publicId, uri, openingTagName, closingTagName);
+ InputStream source = new StringBufferInputStream(content);
+ try {
+ if (testFile.exists()) {
+ testFile.setContents(source, true, false, new NullProgressMonitor());
+ } else {
+ testFile.create(source, true, new NullProgressMonitor());
+ }
+ } catch (CoreException e) {
+ fail(e.getLocalizedMessage());
+ }
+ return testFile;
+ }
+
+ private void removeTestFile() {
+ IFile testFile = project.getFile(FILE_NAME);
+ if (testFile.exists()) {
+ try {
+ testFile.delete(true, new NullProgressMonitor());
+ } catch (CoreException e) {
+ // Do not throw the exception
+ e.printStackTrace();
+ }
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/XHTMLValidatorTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/messages.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/messages.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/messages.properties 2011-09-23 18:18:02 UTC (rev 35008)
@@ -0,0 +1,12 @@
+XHTML_CONTENT_TEMPLATE=<!DOCTYPE composition PUBLIC "{0}" "{1}"> \
+<ui:composition xmlns="http://www.w3.org/1999/xhtml" \
+ xmlns:ui="http://java.sun.com/jsf/facelets"> \
+ <{2} name=""> \
+ </{3}> \
+</ui:composition>
+XHTML_GOOD_PUBLIC_ID=-//W3C//DTD XHTML 1.0 Transitional//EN
+XHTML_WRONG_PUBLIC_ID=-//W3C//DTD XHTMLs 1.0 Transitional//EN
+XHTML_GOOD_URI=http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
+XHTML_WRONG_URI=http://hans-moleman.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
+XHTML_GOOD_TAGNAME=ui:define
+XHTML_WRONG_TAGNAME=enifed:iu
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/messages.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
14 years, 6 months
JBoss Tools SVN: r35007 - 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: vrubezhny
Date: 2011-09-23 14:17:14 -0400 (Fri, 23 Sep 2011)
New Revision: 35007
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties
Log:
JBIDE-9588
Poor performance of XHTML template validation
XHTML Syntax Validator is re-factored
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml 2011-09-23 17:12:36 UTC (rev 35006)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml 2011-09-23 18:17:14 UTC (rev 35007)
@@ -399,8 +399,7 @@
manual="true"
sourceid="org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidatorForXML"
version="3"
- markerId="org.jboss.tools.jsf.xhtmlsyntaxproblem"
- >
+ markerId="org.jboss.tools.jsf.xhtmlsyntaxproblem">
<include>
<rules>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java 2011-09-23 17:12:36 UTC (rev 35006)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java 2011-09-23 18:17:14 UTC (rev 35007)
@@ -58,6 +58,7 @@
private static final String START_TAG_STRATEGY = "START_TAG";
private static final String NO_START_TAG = "NO_START_TAG";
private static final String NO_END_TAG = "NO_END_TAG";
+ public static final String PROBLEM_ID = JSFModelPlugin.PLUGIN_ID + "xhtmlsyntaxproblem";
IProgressMonitor monitor;
IResource resource;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties 2011-09-23 17:12:36 UTC (rev 35006)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties 2011-09-23 18:17:14 UTC (rev 35007)
@@ -8,5 +8,5 @@
VALIDATING_PROJECT=project "{0}" (JSF Validator)
XHTML_VALIDATION=XHTML Syntax Validation: {0}
-XHTML_VALIDATION_NO_START_TAG=No start tag for element '{0}'
-XHTML_VALIDATION_NO_END_TAG=No end tag for element '{0}'
\ No newline at end of file
+XHTML_VALIDATION_NO_START_TAG=No start tag for element "{0}"
+XHTML_VALIDATION_NO_END_TAG=No end tag for element "{0}"
\ No newline at end of file
14 years, 6 months
JBoss Tools SVN: r35006 - workspace/Denny/esb-example-soa-p5.0.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2011-09-23 13:12:36 -0400 (Fri, 23 Sep 2011)
New Revision: 35006
Modified:
workspace/Denny/esb-example-soa-p5.0/webservice_producer_all.zip
Log:
JBDS-1860 - fixed test client for webservice_producer example so it runs properly
Modified: workspace/Denny/esb-example-soa-p5.0/webservice_producer_all.zip
===================================================================
(Binary files differ)
14 years, 6 months
JBoss Tools SVN: r35005 - workspace/Denny/esb-example-soa-p5.0.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2011-09-23 12:36:04 -0400 (Fri, 23 Sep 2011)
New Revision: 35005
Modified:
workspace/Denny/esb-example-soa-p5.0/helloworld_file_action_all.zip
Log:
JBDS-1859 - updated readme with 5.3 to say 5.2 instead
Modified: workspace/Denny/esb-example-soa-p5.0/helloworld_file_action_all.zip
===================================================================
(Binary files differ)
14 years, 6 months
JBoss Tools SVN: r35004 - in trunk/forge/plugins: org.jboss.tools.forge.ui/META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-09-23 12:27:31 -0400 (Fri, 23 Sep 2011)
New Revision: 35004
Modified:
trunk/forge/plugins/org.jboss.tools.forge.core/META-INF/MANIFEST.MF
trunk/forge/plugins/org.jboss.tools.forge.ui/META-INF/MANIFEST.MF
Log:
JBIDE-9668
Modified: trunk/forge/plugins/org.jboss.tools.forge.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/forge/plugins/org.jboss.tools.forge.core/META-INF/MANIFEST.MF 2011-09-23 16:15:23 UTC (rev 35003)
+++ trunk/forge/plugins/org.jboss.tools.forge.core/META-INF/MANIFEST.MF 2011-09-23 16:27:31 UTC (rev 35004)
@@ -13,3 +13,4 @@
org.jboss.tools.forge.core.preferences,
org.jboss.tools.forge.core.process
Bundle-Activator: org.jboss.tools.forge.core.ForgeCorePlugin
+Bundle-Vendor: JBoss by Red Hat
Modified: trunk/forge/plugins/org.jboss.tools.forge.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/forge/plugins/org.jboss.tools.forge.ui/META-INF/MANIFEST.MF 2011-09-23 16:15:23 UTC (rev 35003)
+++ trunk/forge/plugins/org.jboss.tools.forge.ui/META-INF/MANIFEST.MF 2011-09-23 16:27:31 UTC (rev 35004)
@@ -21,3 +21,4 @@
Bundle-Activator: org.jboss.tools.forge.ui.ForgeUIPlugin
Bundle-ClassPath: .
Export-Package: org.jboss.tools.forge.ui.console
+Bundle-Vendor: JBoss by Red Hat
14 years, 6 months
JBoss Tools SVN: r35003 - trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-09-23 12:15:23 -0400 (Fri, 23 Sep 2011)
New Revision: 35003
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java
Log:
JBIDE-9769
Modified: trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java
===================================================================
--- trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java 2011-09-23 16:14:07 UTC (rev 35002)
+++ trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java 2011-09-23 16:15:23 UTC (rev 35003)
@@ -121,6 +121,11 @@
private void handleStateRunning() {
showPage(running);
+ getDisplay().asyncExec(new Runnable() {
+ public void run() {
+ running.forceFocus();
+ }
+ });
}
private void handleStateNotRunning() {
14 years, 6 months
JBoss Tools SVN: r35002 - workspace/bfitzpat/SOA_5_2_Examples and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2011-09-23 12:14:07 -0400 (Fri, 23 Sep 2011)
New Revision: 35002
Added:
trunk/download.jboss.org/jbosstools/examples/soa-p-5.x-samples.xml
workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.x-samples.xml
Modified:
trunk/download.jboss.org/jbosstools/examples/project-examples-community-3...
trunk/download.jboss.org/jbosstools/examples/project-examples-jbds40.xml
workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.2-samples.xml
Log:
JBDS-1856, JBDS-1858 - fixes for ESB example descriptions. removing esb mail example as it doesn't work across runtimes and will be confusing.
Modified: trunk/download.jboss.org/jbosstools/examples/project-examples-community-3...
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/project-examples-community-3... 2011-09-23 16:11:49 UTC (rev 35001)
+++ trunk/download.jboss.org/jbosstools/examples/project-examples-community-3... 2011-09-23 16:14:07 UTC (rev 35002)
@@ -589,9 +589,9 @@
<name>helloworld</name>
<included-projects> helloworld,helloworld_testclient </included-projects>
<shortDescription>JBoss ESB HelloWorld Example - ESB</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This example is to prove that the ESB is is properly configured and happy.
-As well as to demonstrate the needed minimal files to make a basic ESB component execute.</description>
+ <description>This example is to prove that the ESB is is properly configured and happy.
+As well as to demonstrate the needed minimal files to make a basic ESB component execute.
+Example requires a SOA-P 5.x runtime.</description>
<size>1101025</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -611,10 +611,9 @@
<name>helloworld_action</name>
<included-projects>helloworld_action,helloworld_action_client </included-projects>
<shortDescription>JBoss ESB HelloWorld Action Example - ESB</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to demonstrate the use of multiple action invocations from a single configuration. You can use
+ <description>This sample is to demonstrate the use of multiple action invocations from a single configuration. You can use
a single Action class and make multiple method calls or use multiple Action
- classes.</description>
+ classes. Example requires a SOA-P 5.x runtime.</description>
<size>26261</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -629,7 +628,8 @@
</fixes>
</project>
- <project>
+<!-- This example works only on SOA-P 5.1 due to some jar incompatibilities with other SOA-P versions -->
+<!-- <project>
<category>ESB for SOA-P 5.0</category>
<name>helloworld_mail</name>
<included-projects>helloworld_mail,helloworld_mail_testclient</included-projects>
@@ -653,16 +653,18 @@
</fix>
</fixes>
</project>
+-->
<project>
<category>ESB for SOA-P 5.0</category>
<name>helloworld_file_action</name>
<included-projects>helloworld_file_action,helloworld_file_action_client</included-projects>
<shortDescription>JBoss ESB HelloWorld File Action Example - ESB</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This is a basic example of using the File gateway feature of the JBoss ESB.
- Files that are found in a particular directory with a particular extension
- are sent to a JMS queue with actions for processing. Before deploy the project, please change some properties according to the readme.txt file.</description>
+ <description>This is a basic example of using the File gateway feature of the JBoss ESB.
+ Files that are found in a particular directory with a particular extension
+ are sent to a JMS queue with actions for processing. Before deploy the project,
+ please change some properties according to the readme.txt file. Example requires a
+ SOA-P 5.x runtime.</description>
<size>16505</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -682,11 +684,10 @@
<name>webservice_consumer1</name>
<included-projects>webservice_consumer1,webservice_consumer1_client</included-projects>
<shortDescription>JBoss ESB Web Service consumer1 Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This example demonstrates how to consume a 181 Web Service in an ESB action.
+ <description>This example demonstrates how to consume a 181 Web Service in an ESB action.
This ESB will make a webservice request that requires a single "toWhom" string parameter.
The webservice will return a greeting response. The ESB simply dislays the response on the
- console.</description>
+ console. Example requires a SOA-P 5.x runtime.</description>
<size>1120499</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -707,9 +708,8 @@
<name>webservice_producer</name>
<included-projects>webservice_producer,webservice_producer_client</included-projects>
<shortDescription>JBoss ESB Web Service producer Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample demonstrates how to deploy a JSR181 Webservice endpoint on
- JBossESB using the SOAPProcessor action.</description>
+ <description>This sample demonstrates how to deploy a JSR181 Webservice endpoint on
+ JBossESB using the SOAPProcessor action. Example requires a SOA-P 5.x runtime.</description>
<size>55269</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -730,11 +730,10 @@
<name>transform_CSV2XML</name>
<included-projects>transform_CSV2XML,transform_CSV2XML_client</included-projects>
<shortDescription>JBoss ESB Smooks CSV->XML Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
+ <description>This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
The tranformation is done by configuring Smooks and performing two transformation, one
transformation from CSV to an intermediate xml format, and a second transformation from
- the intermediate xml format to the target xml.</description>
+ the intermediate xml format to the target xml. Example requires a SOA-P 5.x runtime.</description>
<size>19434</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -754,10 +753,9 @@
<name>transform_XML2POJO</name>
<included-projects>transform_XML2POJO,transform_XML2POJO_client</included-projects>
<shortDescription>JBoss ESB Smooks XML->POJO Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- The purpose of the simple_transformation sample is to illustrate the
+ <description>The purpose of the simple_transformation sample is to illustrate the
use of Smooks performing a simple transformation by converting a XML file into
-Java POJOs.</description>
+Java POJOs. Example requires a SOA-P 5.x runtime.</description>
<size>40936</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -777,9 +775,8 @@
<name>transform_XML2XML_date_manipulation</name>
<included-projects>transform_XML2XML_date_manipulation,transform_XML2XML_date_manipulation_client</included-projects>
<shortDescription>JBoss ESB Smooks XML->XML date-manipulation Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This is another simple sample of how to manually define and apply a Message
- Transformation within JBoss ESB.
+ <description>This is another simple sample of how to manually define and apply a Message
+ Transformation within JBoss ESB. Example requires a SOA-P 5.x runtime.
This sample is an extension of the "transformation_XML2XML_simple"
Quickstart, demonstrating how JBoss ESB Transformations can simplify your
@@ -807,10 +804,10 @@
<name>transform_XML2XML_simple</name>
<included-projects>transform_XML2XML_simple,transform_XML2XML_simple_client</included-projects>
<shortDescription>JBoss ESB Smooks XML->XML Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This is a very basic sample of how to manually define and apply a Message
+ <description>This is a very basic sample of how to manually define and apply a Message
Transformation within JBoss ESB. It applies a very simple XSLT to a
- SampleOrder.xml message and prints the before and after XML to the console.</description>
+ SampleOrder.xml message and prints the before and after XML to the console.
+ Example requires a SOA-P 5.x runtime.</description>
<size>19224</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
Modified: trunk/download.jboss.org/jbosstools/examples/project-examples-jbds40.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/project-examples-jbds40.xml 2011-09-23 16:11:49 UTC (rev 35001)
+++ trunk/download.jboss.org/jbosstools/examples/project-examples-jbds40.xml 2011-09-23 16:14:07 UTC (rev 35002)
@@ -599,9 +599,9 @@
<name>helloworld</name>
<included-projects> helloworld,helloworld_testclient </included-projects>
<shortDescription>JBoss ESB HelloWorld Example - ESB</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This example is to prove that the ESB is is properly configured and happy.
-As well as to demonstrate the needed minimal files to make a basic ESB component execute.</description>
+ <description>This example is to prove that the ESB is is properly configured and happy.
+As well as to demonstrate the needed minimal files to make a basic ESB component execute.
+Example requires a SOA-P 5.x runtime.</description>
<size>1101025</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -611,7 +611,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld, helloworld_testclient</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -621,10 +621,9 @@
<name>helloworld_action</name>
<included-projects>helloworld_action,helloworld_action_client</included-projects>
<shortDescription>JBoss ESB HelloWorld Action Example - ESB</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime named in the workspace.
-This sample is to demonstrate the use of multiple action invocations from a single configuration. You can use
+ <description>This sample is to demonstrate the use of multiple action invocations from a single configuration. You can use
a single Action class and make multiple method calls or use multiple Action
-classes.</description>
+classes. Example requires a SOA-P 5.x runtime.</description>
<size>26261</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -634,12 +633,13 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_action,helloworld_action_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
- <project>
+<!-- This example works only on SOA-P 5.1 due to some jar incompatibilities with other SOA-P versions -->
+<!-- <project>
<category>ESB for SOA-P 5.0</category>
<name>helloworld_mail</name>
<included-projects>helloworld_mail,helloworld_mail_testclient</included-projects>
@@ -663,16 +663,16 @@
</fix>
</fixes>
</project>
-
+-->
<project>
<category>ESB for SOA-P 5.0</category>
<name>helloworld_file_action</name>
<included-projects>helloworld_file_action,helloworld_file_action_client</included-projects>
<shortDescription>JBoss ESB HelloWorld File Action Example - ESB</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This is a basic example of using the File gateway feature of the JBoss ESB.
+ <description>This is a basic example of using the File gateway feature of the JBoss ESB.
Files that are found in a particular directory with a particular extension are sent to a JMS queue with actions for processing.
-Before deploy the project, please change some properties according to the readme.txt file.</description>
+Before deploy the project, please change some properties according to the readme.txt file.
+Example requires a SOA-P 5.x runtime.</description>
<size>16505</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
@@ -682,7 +682,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_file_action,helloworld_file_action_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -692,10 +692,10 @@
<name>webservice_consumer1</name>
<included-projects>webservice_consumer1,webservice_consumer1_client</included-projects>
<shortDescription>JBoss ESB Web Service consumer1 Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This example demonstrates how to consume a 181 Web Service in an ESB action.
+ <description>This example demonstrates how to consume a 181 Web Service in an ESB action.
This ESB will make a webservice request that requires a single "toWhom" string parameter.
The webservice will return a greeting response. The ESB simply displays the response on the console.
+Example requires a SOA-P 5.x runtime.
</description>
<size>1120499</size>
<url>
@@ -706,7 +706,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">webservice_consumer1,webservice_consumer1_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -717,8 +717,8 @@
<name>webservice_producer</name>
<included-projects>webservice_producer,webservice_producer_client</included-projects>
<shortDescription>JBoss ESB Web Service producer Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This sample demonstrates how to deploy a JSR181 Webservice endpoint on JBossESB using the SOAPProcessor action.
+ <description>This sample demonstrates how to deploy a JSR181 Webservice endpoint on JBossESB using the SOAPProcessor action.
+Example requires a SOA-P 5.x runtime.
</description>
<size>55269</size>
<url>
@@ -729,7 +729,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">webservice_producer,webservice_producer_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -740,9 +740,10 @@
<name>transform_CSV2XML</name>
<included-projects>transform_CSV2XML,transform_CSV2XML_client</included-projects>
<shortDescription>JBoss ESB Smooks CSV->XML Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
-The tranformation is done by configuring Smooks and performing two transformation, one transformation from CSV to an intermediate xml format, and a second transformation from the intermediate xml format to the target xml.
+ <description>This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
+The tranformation is done by configuring Smooks and performing two transformation, one
+transformation from CSV to an intermediate xml format, and a second transformation from
+the intermediate xml format to the target xml. Example requires a SOA-P 5.x runtime.
</description>
<size>19434</size>
<url>
@@ -753,7 +754,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_CSV2XML,transform_CSV2XML_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -763,8 +764,9 @@
<name>transform_XML2POJO</name>
<included-projects>transform_XML2POJO,transform_XML2POJO_client</included-projects>
<shortDescription>JBoss ESB Smooks XML->POJO Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-The purpose of the simple_transformation sample is to illustrate the use of Smooks performing a simple transformation by converting a XML file into Java POJOs.
+ <description>The purpose of the simple_transformation sample is to illustrate the
+use of Smooks performing a simple transformation by converting a XML file into Java POJOs.
+Example requires a SOA-P 5.x runtime.
</description>
<size>40936</size>
<url>
@@ -775,7 +777,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2POJO,transform_XML2POJO_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -785,8 +787,8 @@
<name>transform_XML2XML_date_manipulation</name>
<included-projects>transform_XML2XML_date_manipulation,transform_XML2XML_date_manipulation_client</included-projects>
<shortDescription>JBoss ESB Smooks XML->XML date-manipulation Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This is another simple sample of how to manually define and apply a Message Transformation within JBoss ESB.
+ <description>This is another simple sample of how to manually define and apply a Message Transformation within JBoss ESB.
+Example requires a SOA-P 5.x runtime.
This sample is an extension of the "transformation_XML2XML_simple"
Quickstart, demonstrating how JBoss ESB Transformations can simplify your
@@ -804,7 +806,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2XML_date_manipulation,transform_XML2XML_date_manipulation_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
@@ -814,9 +816,9 @@
<name>transform_XML2XML_simple</name>
<included-projects>transform_XML2XML_simple,transform_XML2XML_simple_client</included-projects>
<shortDescription>JBoss ESB Smooks XML->XML Example</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is a SOA-P 5.x runtime in the workspace.
-This is a very basic sample of how to manually define and apply a Message Transformation within JBoss ESB.
+ <description>This is a very basic sample of how to manually define and apply a Message Transformation within JBoss ESB.
It applies a very simple XSLT to a SampleOrder.xml message and prints the before and after XML to the console.
+Example requires a SOA-P 5.x runtime.
</description>
<size>19224</size>
<url>
@@ -827,7 +829,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2XML_simple,transform_XML2XML_simple_client</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
Added: trunk/download.jboss.org/jbosstools/examples/soa-p-5.x-samples.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/soa-p-5.x-samples.xml (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/soa-p-5.x-samples.xml 2011-09-23 16:14:07 UTC (rev 35002)
@@ -0,0 +1,155 @@
+<projects>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>aggregator_eclipse</name>
+ <included-projects>aggregator_aggregation_eclipse,aggregator_blue_service_eclipse,aggregator_eclipse_test,aggregator_green_service_eclipse,aggregator_inbound_splitter_eclipse,aggregator_red_service_eclipse</included-projects>
+ <shortDescription>aggregator_eclipse</shortDescription>
+ <description>The purpose of this particular example is to demonstrate the Enterprise Integration Patterns of Splitter and Aggregator. In addition, this example demonstrates the concepts of multiple JVMs, each running unique services but all working in concert, a federated model that shares a common registry and uses JMS between the JVMs.</description>
+ <size>75809</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">aggregator_aggregation_eclipse,aggregator_blue_service_eclipse,aggregator_eclipse_test,aggregator_green_service_eclipse,aggregator_inbound_splitter_eclipse,aggregator_red_service_eclipse</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>business_service_eclipse</name>
+ <included-projects>business_service_eclipse,business_service_eclipse_test</included-projects>
+ <shortDescription>business_service_eclipse</shortDescription>
+ <description>This example demonstrates the how to access an EJB3 Stateless Session Bean from within an ESB Action. ESB Actions are primarily custom mediation components which allow you to introduce different specialized transformations, routing behaviors, orchestration, etc. The EJB3 is a simple "Hello World" annotated POJO.</description>
+ <size>17993</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">business_service_eclipse,business_service_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>custom_action_eclipse</name>
+ <included-projects>custom_action_eclipse,custom_action_eclipse_test</included-projects>
+ <shortDescription>custom_action_eclipse</shortDescription>
+ <description>The purpose of the custom_action quickstart example is to show different ways of using Action classes.</description>
+ <size>19737</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">custom_action_eclipse,custom_action_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>fun_cbr_eclipse</name>
+ <included-projects>fun_cbr_eclipse,fun_cbr_eclipse_test</included-projects>
+ <shortDescription>fun_cbr_eclipse</shortDescription>
+ <description>This example has three "teams" of order processors. All new orders that flow into the system can be evaluated via the XPath or Drools rule processors. These routing rules will determine which team receives the order for actually processing. In the case of the green team, the order is first transformed to a different format prior to routing.</description>
+ <size>31633</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">fun_cbr_eclipse,fun_cbr_eclipse_test</property>
+ <property name="required-components">esb,drools</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>helloworld_action_eclipse</name>
+ <included-projects>helloworld_action_eclipse,helloworld_action_eclipse_test</included-projects>
+ <shortDescription>helloworld_action_eclipse</shortDescription>
+ <description>The purpose of the helloworld_action quickstart sample is to show the use of multiple action invocations from a single configuration. You can use a single Action class and make multiple method calls or use multiple Action classes</description>
+ <size>18894</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_action_eclipse,helloworld_action_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>helloworld_eclipse</name>
+ <included-projects>helloworld_eclipse,helloworld_eclipse_test</included-projects>
+ <shortDescription>helloworld_eclipse</shortDescription>
+ <description>The purpose of the helloworld quickstart sample is to prove that the ESB is properly configured and happy. As well as to demonstrate the needed minimal files to make a basic ESB component execute.</description>
+ <size>14056</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_eclipse,helloworld_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>simple_cbr_eclipse</name>
+ <included-projects>simple_cbr_eclipse,simple_cbr_eclipse_test</included-projects>
+ <shortDescription>simple_cbr_eclipse</shortDescription>
+ <description>The purpose of the simple_cbr quickstart is to demonstrate the Content Based Router in JBoss ESB.</description>
+ <size>24985</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">simple_cbr_eclipse,simple_cbr_eclipse_test</property>
+ <property name="required-components">esb,drools</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>static_router_eclipse</name>
+ <included-projects>static_router_eclipse,static_router_eclipse_test</included-projects>
+ <shortDescription>static_router_eclipse</shortDescription>
+ <description>This quick start will create a file on the FTP server and show the progress of the message through a static route. Intermediate files will be created in the directories under build/dirs/</description>
+ <size>9194</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">static_router_eclipse,static_router_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>transform_XML2POJO_eclipse</name>
+ <included-projects>transform_XML2POJO_eclipse,transform_XML2POJO_eclipse_test</included-projects>
+ <shortDescription>transform_XML2POJO_eclipse</shortDescription>
+ <description>The purpose of the simple_transformation quickstart sample is to illustrate the use of Smooks performing a simple transformation by converting a XML file into Java POJOs.</description>
+ <size>26927</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2POJO_eclipse,transform_XML2POJO_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ </projects>
\ No newline at end of file
Property changes on: trunk/download.jboss.org/jbosstools/examples/soa-p-5.x-samples.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.2-samples.xml
===================================================================
--- workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.2-samples.xml 2011-09-23 16:11:49 UTC (rev 35001)
+++ workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.2-samples.xml 2011-09-23 16:14:07 UTC (rev 35002)
@@ -1,6 +1,6 @@
<projects>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>aggregator_eclipse</name>
<included-projects>aggregator_aggregation_eclipse,aggregator_blue_service_eclipse,aggregator_eclipse_test,aggregator_green_service_eclipse,aggregator_inbound_splitter_eclipse,aggregator_red_service_eclipse</included-projects>
<shortDescription>aggregator_eclipse</shortDescription>
@@ -12,12 +12,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">aggregator_aggregation_eclipse,aggregator_blue_service_eclipse,aggregator_eclipse_test,aggregator_green_service_eclipse,aggregator_inbound_splitter_eclipse,aggregator_red_service_eclipse</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>business_service_eclipse</name>
<included-projects>business_service_eclipse,business_service_eclipse_test</included-projects>
<shortDescription>business_service_eclipse</shortDescription>
@@ -29,12 +29,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">business_service_eclipse,business_service_eclipse_test</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>custom_action_eclipse</name>
<included-projects>custom_action_eclipse,custom_action_eclipse_test</included-projects>
<shortDescription>custom_action_eclipse</shortDescription>
@@ -46,12 +46,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">custom_action_eclipse,custom_action_eclipse_test</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>fun_cbr_eclipse</name>
<included-projects>fun_cbr_eclipse,fun_cbr_eclipse_test</included-projects>
<shortDescription>fun_cbr_eclipse</shortDescription>
@@ -63,12 +63,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">fun_cbr_eclipse,fun_cbr_eclipse_test</property>
<property name="required-components">esb,drools</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>helloworld_action_eclipse</name>
<included-projects>helloworld_action_eclipse,helloworld_action_eclipse_test</included-projects>
<shortDescription>helloworld_action_eclipse</shortDescription>
@@ -80,12 +80,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_action_eclipse,helloworld_action_eclipse_test</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>helloworld_eclipse</name>
<included-projects>helloworld_eclipse,helloworld_eclipse_test</included-projects>
<shortDescription>helloworld_eclipse</shortDescription>
@@ -97,12 +97,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_eclipse,helloworld_eclipse_test</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>simple_cbr_eclipse</name>
<included-projects>simple_cbr_eclipse,simple_cbr_eclipse_test</included-projects>
<shortDescription>simple_cbr_eclipse</shortDescription>
@@ -114,12 +114,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">simple_cbr_eclipse,simple_cbr_eclipse_test</property>
<property name="required-components">esb,drools</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>static_router_eclipse</name>
<included-projects>static_router_eclipse,static_router_eclipse_test</included-projects>
<shortDescription>static_router_eclipse</shortDescription>
@@ -131,12 +131,12 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">static_router_eclipse,static_router_eclipse_test</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
<project>
- <category>SOA-P 5.2 Examples Importable By Eclipse</category>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
<name>transform_XML2POJO_eclipse</name>
<included-projects>transform_XML2POJO_eclipse,transform_XML2POJO_eclipse_test</included-projects>
<shortDescription>transform_XML2POJO_eclipse</shortDescription>
@@ -148,7 +148,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2POJO_eclipse,transform_XML2POJO_eclipse_test</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA-P 5.x</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
</fix>
</fixes>
</project>
Added: workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.x-samples.xml
===================================================================
--- workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.x-samples.xml (rev 0)
+++ workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.x-samples.xml 2011-09-23 16:14:07 UTC (rev 35002)
@@ -0,0 +1,155 @@
+<projects>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>aggregator_eclipse</name>
+ <included-projects>aggregator_aggregation_eclipse,aggregator_blue_service_eclipse,aggregator_eclipse_test,aggregator_green_service_eclipse,aggregator_inbound_splitter_eclipse,aggregator_red_service_eclipse</included-projects>
+ <shortDescription>aggregator_eclipse</shortDescription>
+ <description>The purpose of this particular example is to demonstrate the Enterprise Integration Patterns of Splitter and Aggregator. In addition, this example demonstrates the concepts of multiple JVMs, each running unique services but all working in concert, a federated model that shares a common registry and uses JMS between the JVMs.</description>
+ <size>75809</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">aggregator_aggregation_eclipse,aggregator_blue_service_eclipse,aggregator_eclipse_test,aggregator_green_service_eclipse,aggregator_inbound_splitter_eclipse,aggregator_red_service_eclipse</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>business_service_eclipse</name>
+ <included-projects>business_service_eclipse,business_service_eclipse_test</included-projects>
+ <shortDescription>business_service_eclipse</shortDescription>
+ <description>This example demonstrates the how to access an EJB3 Stateless Session Bean from within an ESB Action. ESB Actions are primarily custom mediation components which allow you to introduce different specialized transformations, routing behaviors, orchestration, etc. The EJB3 is a simple "Hello World" annotated POJO.</description>
+ <size>17993</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">business_service_eclipse,business_service_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>custom_action_eclipse</name>
+ <included-projects>custom_action_eclipse,custom_action_eclipse_test</included-projects>
+ <shortDescription>custom_action_eclipse</shortDescription>
+ <description>The purpose of the custom_action quickstart example is to show different ways of using Action classes.</description>
+ <size>19737</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">custom_action_eclipse,custom_action_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>fun_cbr_eclipse</name>
+ <included-projects>fun_cbr_eclipse,fun_cbr_eclipse_test</included-projects>
+ <shortDescription>fun_cbr_eclipse</shortDescription>
+ <description>This example has three "teams" of order processors. All new orders that flow into the system can be evaluated via the XPath or Drools rule processors. These routing rules will determine which team receives the order for actually processing. In the case of the green team, the order is first transformed to a different format prior to routing.</description>
+ <size>31633</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">fun_cbr_eclipse,fun_cbr_eclipse_test</property>
+ <property name="required-components">esb,drools</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>helloworld_action_eclipse</name>
+ <included-projects>helloworld_action_eclipse,helloworld_action_eclipse_test</included-projects>
+ <shortDescription>helloworld_action_eclipse</shortDescription>
+ <description>The purpose of the helloworld_action quickstart sample is to show the use of multiple action invocations from a single configuration. You can use a single Action class and make multiple method calls or use multiple Action classes</description>
+ <size>18894</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_action_eclipse,helloworld_action_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>helloworld_eclipse</name>
+ <included-projects>helloworld_eclipse,helloworld_eclipse_test</included-projects>
+ <shortDescription>helloworld_eclipse</shortDescription>
+ <description>The purpose of the helloworld quickstart sample is to prove that the ESB is properly configured and happy. As well as to demonstrate the needed minimal files to make a basic ESB component execute.</description>
+ <size>14056</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_eclipse,helloworld_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>simple_cbr_eclipse</name>
+ <included-projects>simple_cbr_eclipse,simple_cbr_eclipse_test</included-projects>
+ <shortDescription>simple_cbr_eclipse</shortDescription>
+ <description>The purpose of the simple_cbr quickstart is to demonstrate the Content Based Router in JBoss ESB.</description>
+ <size>24985</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">simple_cbr_eclipse,simple_cbr_eclipse_test</property>
+ <property name="required-components">esb,drools</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>static_router_eclipse</name>
+ <included-projects>static_router_eclipse,static_router_eclipse_test</included-projects>
+ <shortDescription>static_router_eclipse</shortDescription>
+ <description>This quick start will create a file on the FTP server and show the progress of the message through a static route. Intermediate files will be created in the directories under build/dirs/</description>
+ <size>9194</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">static_router_eclipse,static_router_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ <project>
+ <category>SOA-P 5.x Examples Importable By Eclipse</category>
+ <name>transform_XML2POJO_eclipse</name>
+ <included-projects>transform_XML2POJO_eclipse,transform_XML2POJO_eclipse_test</included-projects>
+ <shortDescription>transform_XML2POJO_eclipse</shortDescription>
+ <description>The purpose of the simple_transformation quickstart sample is to illustrate the use of Smooks performing a simple transformation by converting a XML file into Java POJOs.</description>
+ <size>26927</size> <!-- size of the zip file -->
+ <url>http://anonsvn.jboss.org/repos/jbosstools/workspace/bfitzpat/SOA_5_2_Exam...</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2POJO_eclipse,transform_XML2POJO_eclipse_test</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires JBoss SOA-P 5.x</property>
+ </fix>
+ </fixes>
+ </project>
+ </projects>
\ No newline at end of file
Property changes on: workspace/bfitzpat/SOA_5_2_Examples/soa-p-5.x-samples.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
14 years, 6 months
JBoss Tools SVN: r35001 - trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-09-23 12:11:49 -0400 (Fri, 23 Sep 2011)
New Revision: 35001
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java
Log:
JBIDE-8912:
- holding a key down results in multiple keystrokes now
- arrow keys work
- deleting in the middle of a command using backspace works
Modified: trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java
===================================================================
--- trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java 2011-09-23 15:34:15 UTC (rev 35000)
+++ trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java 2011-09-23 16:11:49 UTC (rev 35001)
@@ -9,10 +9,9 @@
import org.eclipse.jface.text.IDocumentListener;
import org.eclipse.jface.text.TextViewer;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.custom.ST;
import org.eclipse.swt.custom.StyleRange;
import org.eclipse.swt.custom.StyledText;
-import org.eclipse.swt.events.KeyEvent;
-import org.eclipse.swt.events.KeyListener;
import org.eclipse.swt.events.VerifyEvent;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Composite;
@@ -41,32 +40,12 @@
}
}
- private class ConsoleKeyListener implements KeyListener {
- @Override
- public void keyPressed(KeyEvent e) {
- if (e.keyCode == SWT.BS) {
- runtime.sendInput(BACKSPACE);
- } else if (e.keyCode == SWT.ARROW_UP) {
- runtime.sendInput(UP_ARROW);
- } else if (e.keyCode == SWT.ARROW_DOWN) {
- runtime.sendInput(DOWN_ARROW);
- } else if (e.keyCode == SWT.ARROW_LEFT) {
- runtime.sendInput(LEFT_ARROW);
- } else if (e.keyCode == SWT.ARROW_RIGHT) {
- runtime.sendInput(RIGHT_ARROW);
- }
- }
- @Override
- public void keyReleased(KeyEvent e) {
- }
- }
-
private class DocumentListener implements IDocumentListener {
@Override
public void documentAboutToBeChanged(DocumentEvent event) {
}
@Override
- public void documentChanged(DocumentEvent event) {
+ public void documentChanged(final DocumentEvent event) {
Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
@@ -74,7 +53,7 @@
if (textWidget != null && !textWidget.isDisposed()) {
int lineCount = textWidget.getLineCount();
textWidget.setTopIndex(lineCount - 1);
- textWidget.setCaretOffset(textWidget.getCharCount());
+// textWidget.setCaretOffset(event.fOffset + event.fLength);
}
}
});
@@ -110,13 +89,36 @@
}
private void initViewer() {
- StyledText textWidget = getTextWidget();
- textWidget.setFont(JFaceResources.getFont(JFaceResources.TEXT_FONT));
- textWidget.addKeyListener(new ConsoleKeyListener());
- currentStyleRange = new StyleRange(0, 0, getColor(SWT.COLOR_BLACK), null);
- textWidget.setStyleRange(currentStyleRange);
+ getTextWidget().setFont(JFaceResources.getFont(JFaceResources.TEXT_FONT));
}
+ protected StyledText createTextWidget(Composite parent, int styles) {
+ StyledText styledText= new StyledText(parent, styles) {
+ public void invokeAction(int action) {
+ switch (action) {
+ case ST.LINE_UP:
+ runtime.sendInput(UP_ARROW);
+ break;
+ case ST.LINE_DOWN:
+ runtime.sendInput(DOWN_ARROW);
+ break;
+ case ST.COLUMN_PREVIOUS:
+ runtime.sendInput(LEFT_ARROW);
+ break;
+ case ST.COLUMN_NEXT:
+ runtime.sendInput(RIGHT_ARROW);
+ break;
+ case ST.DELETE_PREVIOUS:
+ runtime.sendInput(BACKSPACE);
+ break;
+ default: super.invokeAction(action);
+ }
+ }
+ };
+ styledText.setLeftMargin(Math.max(styledText.getLeftMargin(), 2));
+ return styledText;
+ }
+
private Color getColor(int colorCode) {
return Display.getDefault().getSystemColor(colorCode);
}
@@ -132,10 +134,17 @@
Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
- document.appendString(output);
- if (currentStyleRange != null) {
- currentStyleRange.length = currentStyleRange.length + output.length();
- getTextWidget().setStyleRange(currentStyleRange);
+ try {
+ String filteredOutput = output.replaceAll("\r", "");
+ int caretOffset = getTextWidget().getCaretOffset();
+ document.replace(caretOffset, document.getLength() - caretOffset, filteredOutput);
+ getTextWidget().setCaretOffset(caretOffset + filteredOutput.length());
+ if (currentStyleRange != null) {
+ currentStyleRange.length = currentStyleRange.length + filteredOutput.length();
+ getTextWidget().setStyleRange(currentStyleRange);
+ }
+ } catch (BadLocationException e) {
+ ForgeUIPlugin.log(e);
}
}
});
@@ -167,31 +176,12 @@
runtime.removeOutputListener(outputListener);
outputListener = null;
}
-
+
protected void handleVerifyEvent(VerifyEvent e) {
runtime.sendInput(e.text);
e.doit = false;
}
- protected void handleVerifyKeyEvent(VerifyEvent e) {
- if (e.keyCode == SWT.BS) {
- runtime.sendInput(BACKSPACE);
- e.doit = false;
- } else if (e.keyCode == SWT.ARROW_UP) {
- runtime.sendInput(UP_ARROW);
- e.doit = false;
- } else if (e.keyCode == SWT.ARROW_DOWN) {
- runtime.sendInput(DOWN_ARROW);
- e.doit = false;
- } else if (e.keyCode == SWT.ARROW_LEFT) {
- runtime.sendInput(LEFT_ARROW);
- e.doit = false;
- } else if (e.keyCode == SWT.ARROW_RIGHT) {
- runtime.sendInput(RIGHT_ARROW);
- e.doit = false;
- }
- }
-
private void executeAnsiCommand(final String command) {
Display.getDefault().asyncExec(new Runnable() {
@Override
14 years, 6 months
JBoss Tools SVN: r35000 - in branches/jbosstools-3.2.x/build/aggregate: webtools-site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-09-23 11:34:15 -0400 (Fri, 23 Sep 2011)
New Revision: 35000
Modified:
branches/jbosstools-3.2.x/build/aggregate/site/build.xml
branches/jbosstools-3.2.x/build/aggregate/site/pom.xml
branches/jbosstools-3.2.x/build/aggregate/webtools-site/build.xml
branches/jbosstools-3.2.x/build/aggregate/webtools-site/pom.xml
Log:
JBIDE-9743 backport trunk changes to 32x/41x branch
Modified: branches/jbosstools-3.2.x/build/aggregate/site/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/site/build.xml 2011-09-23 15:01:26 UTC (rev 34999)
+++ branches/jbosstools-3.2.x/build/aggregate/site/build.xml 2011-09-23 15:34:15 UTC (rev 35000)
@@ -444,7 +444,20 @@
<isset property="BUILD_NUMBER" />
</and>
<then>
- <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+.*).aggregate" replace=": \1.${BUILD_ID}-H${BUILD_NUMBER}" />
+ <!-- from 2011-09-21_01-11-04 to 20110921-0111 -->
+ <propertyregex override="true" property="BUILD_TS" defaultvalue="${BUILD_ID}" input="${BUILD_ID}" regexp="([0-9]+)-([0-9]+)-([0-9]+)_([0-9]+)-([0-9]+)-([0-9]+)" replace="v\1\2\3-\4\5" />
+ <if>
+ <and>
+ <isset property="JBT_VERSION" />
+ <isset property="BUILD_ALIAS" />
+ </and>
+ <then>
+ <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate" replace=": ${JBT_VERSION}.${BUILD_TS}-H${BUILD_NUMBER}-${BUILD_ALIAS}\3" />
+ </then>
+ <else>
+ <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate" replace=": \1.${BUILD_TS}-H${BUILD_NUMBER}\2\3" />
+ </else>
+ </if>
</then>
<else>
<property name="update.site.version" value="" />
@@ -479,7 +492,7 @@
<delete file="${update.site.source.dir}/site.html" quiet="true" />
</target>
- <!-- look for http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2.0.M2.c...;
+ <!-- look for http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.*/logs/z...;
if found, load file and use ${ALL_ZIPS} to get list of relative path zips to fetch -->
<target name="collect.zips" description="collect zips from the sites we aggregated">
<property name="aggregate.zips.dir" value="${output.dir}/zips" />
Modified: branches/jbosstools-3.2.x/build/aggregate/site/pom.xml
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/site/pom.xml 2011-09-23 15:01:26 UTC (rev 34999)
+++ branches/jbosstools-3.2.x/build/aggregate/site/pom.xml 2011-09-23 15:34:15 UTC (rev 35000)
@@ -16,8 +16,9 @@
mvn clean install -P jbosstools-nightly-trunk
-->
<properties>
- <!-- add more inputRepos into the composite metadata at the URL below. Therefore need not edit this file and add dozens of URLs
- which need to be called by Ant script later -->
+ <!-- add more inputRepos into the composite metadata at the URL below.
+ Therefore need not edit this file and add dozens of URLs which need to be
+ called by Ant script later -->
<inputRepo1>http://download.jboss.org/jbosstools/builds/staging/_composite_/3.2_stabl...</inputRepo1>
<inputRepos>1</inputRepos>
</properties>
@@ -36,10 +37,12 @@
<quiet>true</quiet>
<tasks>
<!-- called AFTER generating update site + zip to add in extra content -->
- <property name="inputRepo1" value="${inputRepo1}"/>
- <property name="inputRepos" value="${inputRepos}"/>
- <property name="JBT_VERSION" value="${JBT_VERSION}"/>
- <ant antfile="build.xml"/>
+ <property name="inputRepo1" value="${inputRepo1}" />
+ <property name="inputRepos" value="${inputRepos}" />
+ <ant antfile="build.xml">
+ <property name="JBT_VERSION" value="${JBT_VERSION}" />
+ <property name="BUILD_ALIAS" value="${BUILD_ALIAS}" />
+ </ant>
</tasks>
</configuration>
<goals>
Modified: branches/jbosstools-3.2.x/build/aggregate/webtools-site/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/webtools-site/build.xml 2011-09-23 15:01:26 UTC (rev 34999)
+++ branches/jbosstools-3.2.x/build/aggregate/webtools-site/build.xml 2011-09-23 15:34:15 UTC (rev 35000)
@@ -445,16 +445,18 @@
<isset property="BUILD_NUMBER" />
</and>
<then>
+ <!-- from 2011-09-21_01-11-04 to 20110921-0111 -->
+ <propertyregex override="true" property="BUILD_TS" defaultvalue="${BUILD_ID}" input="${BUILD_ID}" regexp="([0-9]+)-([0-9]+)-([0-9]+)_([0-9]+)-([0-9]+)-([0-9]+)" replace="v\1\2\3-\4\5" />
<if>
<and>
<isset property="JBT_VERSION" />
<isset property="BUILD_ALIAS" />
</and>
<then>
- <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate" replace=": ${JBT_VERSION}.${BUILD_ALIAS}\3.${BUILD_ID}-H${BUILD_NUMBER}" />
+ <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate" replace=": ${JBT_VERSION}.${BUILD_TS}-H${BUILD_NUMBER}-${BUILD_ALIAS}\3" />
</then>
<else>
- <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+.*).aggregate" replace=": \1.${BUILD_ID}-H${BUILD_NUMBER}" />
+ <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate" replace=": \1.${BUILD_TS}-H${BUILD_NUMBER}\2\3" />
</else>
</if>
</then>
Modified: branches/jbosstools-3.2.x/build/aggregate/webtools-site/pom.xml
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/webtools-site/pom.xml 2011-09-23 15:01:26 UTC (rev 34999)
+++ branches/jbosstools-3.2.x/build/aggregate/webtools-site/pom.xml 2011-09-23 15:34:15 UTC (rev 35000)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools</groupId>
@@ -12,11 +13,9 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-update-site</packaging>
- <!-- to build against locally built sources, use:
- mvn clean install
- to build against http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/, use:
- mvn clean install -Pjbosstools-nightly-staging-composite
- -->
+ <!-- to build against locally built sources, use: mvn clean install to build
+ against http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/,
+ use: mvn clean install -Pjbosstools-nightly-staging-composite -->
<build>
<plugins>
<plugin>
@@ -31,8 +30,10 @@
<quiet>true</quiet>
<tasks>
<!-- called AFTER generating update site + zip to add in extra content -->
- <property name="JBT_VERSION" value="${JBT_VERSION}"/>
- <ant antfile="build.xml"/>
+ <ant antfile="build.xml">
+ <property name="JBT_VERSION" value="${JBT_VERSION}" />
+ <property name="BUILD_ALIAS" value="${BUILD_ALIAS}" />
+ </ant>
</tasks>
</configuration>
<goals>
14 years, 6 months
JBoss Tools SVN: r34999 - in trunk/as: tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-09-23 11:01:26 -0400 (Fri, 23 Sep 2011)
New Revision: 34999
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.openshift.core/src/org/jboss/ide/eclipse/as/openshift/core/Application.java
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/ApplicationTest.java
Log:
[JBIDE-9591] Application#getGitUri is now implemented
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.openshift.core/src/org/jboss/ide/eclipse/as/openshift/core/Application.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.openshift.core/src/org/jboss/ide/eclipse/as/openshift/core/Application.java 2011-09-23 13:38:47 UTC (rev 34998)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.openshift.core/src/org/jboss/ide/eclipse/as/openshift/core/Application.java 2011-09-23 15:01:26 UTC (rev 34999)
@@ -45,6 +45,10 @@
this.creationTime = creationTime;
this.user = user;
this.service = service;
+
+ // add ourselves to the user!
+ user.add(this);
+
}
public String getName() {
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/ApplicationTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/ApplicationTest.java 2011-09-23 13:38:47 UTC (rev 34998)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/ApplicationTest.java 2011-09-23 15:01:26 UTC (rev 34999)
@@ -17,15 +17,19 @@
import java.io.IOException;
import java.net.URLEncoder;
import java.util.Arrays;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
import org.jboss.ide.eclipse.as.openshift.core.Application;
import org.jboss.ide.eclipse.as.openshift.core.ApplicationInfo;
import org.jboss.ide.eclipse.as.openshift.core.ApplicationLogReader;
import org.jboss.ide.eclipse.as.openshift.core.Cartridge;
+import org.jboss.ide.eclipse.as.openshift.core.Domain;
import org.jboss.ide.eclipse.as.openshift.core.IOpenshiftService;
import org.jboss.ide.eclipse.as.openshift.core.OpenshiftException;
import org.jboss.ide.eclipse.as.openshift.core.User;
import org.jboss.ide.eclipse.as.openshift.core.UserInfo;
+import org.jboss.ide.eclipse.as.openshift.core.internal.OpenshiftService;
import org.jboss.ide.eclipse.as.openshift.core.internal.request.ApplicationAction;
import org.jboss.ide.eclipse.as.openshift.core.internal.request.ApplicationRequest;
import org.jboss.ide.eclipse.as.openshift.core.internal.request.OpenshiftEnvelopeFactory;
@@ -43,6 +47,8 @@
*/
public class ApplicationTest {
+ public static final Pattern GIT_URI_REGEXP = Pattern.compile("ssh://(.+)@(.+)-([^\\.]+)\\.(.+)/~/git/(.+).git/");
+
private User user = new User(ApplicationResponseFake.RHLOGIN, ApplicationResponseFake.PASSWORD, new NoopOpenshiftServiceFake());
@Test
@@ -108,8 +114,7 @@
@Test
public void canGetGitUri() throws OpenshiftException {
- String response = JsonSanitizer.sanitize(ApplicationResponseFake.appResponse);
- IOpenshiftService service = new NoopOpenshiftServiceFake() {
+ OpenshiftService userInfoService = new NoopOpenshiftServiceFake() {
@Override
public UserInfo getUserInfo(User user) throws OpenshiftException {
ApplicationInfo applicationInfo = new ApplicationInfo(
@@ -127,17 +132,34 @@
Arrays.asList(new ApplicationInfo[] { applicationInfo }));
}
};
+ User user = new User(ApplicationResponseFake.RHLOGIN, ApplicationResponseFake.PASSWORD, userInfoService);
+
+ String response = JsonSanitizer.sanitize(ApplicationResponseFake.appResponse);
OpenshiftResponse<Application> openshiftResponse =
new ApplicationResponseUnmarshaller(
ApplicationResponseFake.APPLICATION_NAME, ApplicationResponseFake.APPLICATION_CARTRIDGE,
- user, service)
+ user, userInfoService)
.unmarshall(response);
Application application = openshiftResponse.getOpenshiftObject();
assertNotNull(application);
String gitUri = application.getGitUri();
assertNotNull(gitUri);
+ Domain domain = user.getDomain();
+ assertNotNull(domain);
+ assertGitUri(gitUri, application.getUUID(), application.getName(), domain.getNamespace(), domain.getRhcDomain());
}
+ private void assertGitUri(String gitUri, String uuid, String name, String namespace, String rhcDomain) {
+ Matcher matcher = GIT_URI_REGEXP.matcher(gitUri);
+ assertTrue(matcher.matches());
+ assertEquals(5, matcher.groupCount());
+ assertEquals(uuid, matcher.group(1));
+ assertEquals(name, matcher.group(2));
+ assertEquals(namespace, matcher.group(3));
+ assertEquals(rhcDomain, matcher.group(4));
+ assertEquals(name, matcher.group(5));
+ }
+
@Test
public void canUnmarshallApplicationStatus() throws OpenshiftException {
String response = JsonSanitizer.sanitize(ApplicationResponseFake.statusResponse);
14 years, 6 months