JBoss Tools SVN: r23405 - in trunk/cdi/tests/org.jboss.tools.cdi.core.test: resources/tck/tests/interceptors/definition/inheritance and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-07-14 09:31:28 -0400 (Wed, 14 Jul 2010)
New Revision: 23405
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingA.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingB.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingC.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Q.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/X.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y1.java
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6566
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingA.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingA.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingA.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,20 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.interceptor.InterceptorBinding;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+@InterceptorBinding
+@Inherited
+@Target({ TYPE, METHOD })
+@Retention(RUNTIME)
+@Documented
+public @interface BindingA {
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingA.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingB.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingB.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingB.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,19 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.interceptor.InterceptorBinding;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+@InterceptorBinding
+@Target({ TYPE, METHOD })
+@Retention(RUNTIME)
+@Documented
+public @interface BindingB {
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingB.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingC.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingC.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingC.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,21 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.interceptor.InterceptorBinding;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+@InterceptorBinding
+@Inherited
+@Target({ TYPE, METHOD })
+@Retention(RUNTIME)
+@Documented
+public @interface BindingC {
+ String value();
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/BindingC.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Q.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Q.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Q.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,5 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+@BindingC("c2")
+public class Q extends X {
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Q.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/X.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/X.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/X.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,8 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+@BindingA
+@BindingB
+@BindingC("c1")
+public class X {
+
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/X.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,7 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+import javax.interceptor.Interceptor;
+
+@Interceptor
+public class Y extends Q {
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y1.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y1.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y1.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -0,0 +1,7 @@
+package org.jboss.jsr299.tck.tests.interceptors.definition.inheritance;
+
+import javax.interceptor.Interceptor;
+
+@Interceptor
+public class Y1 extends X {
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/interceptors/definition/inheritance/Y1.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java 2010-07-14 13:27:53 UTC (rev 23404)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java 2010-07-14 13:31:28 UTC (rev 23405)
@@ -10,11 +10,16 @@
******************************************************************************/
package org.jboss.tools.cdi.core.test.tck;
+import java.util.HashSet;
import java.util.Set;
+import org.eclipse.jdt.core.IAnnotation;
+import org.eclipse.jdt.core.IMemberValuePair;
import org.eclipse.jdt.core.JavaModelException;
import org.jboss.tools.cdi.core.IBean;
import org.jboss.tools.cdi.core.IClassBean;
+import org.jboss.tools.cdi.core.IInterceptorBinding;
+import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
/**
* @author Alexey Kazakov
@@ -34,4 +39,84 @@
IClassBean interceptor = (IClassBean)bean;
assertFalse("The interceptor should inherites interceptor bindings", interceptor.getInterceptorBindings().isEmpty());
}
-}
\ No newline at end of file
+
+ /**
+ * 4.1. Inheritance of type-level metadata.
+ * Suppose a class X is extended directly or indirectly by the bean class of a managed
+ * bean or session bean Y. If X is annotated with interceptor binding type Z then Y
+ * inherits the annotation if and only if Z declares the @Inherited meta-annotation
+ * and neither Y nor any intermediate class that is a subclass of X and a superclass of Y
+ * declares an annotation of type Z.
+ * @throws JavaModelException
+ */
+ public void testInterceptorBindingInheritance() throws JavaModelException {
+ //Y inherits X indirectly through Q.
+ //X declares inheritable BindingA and BindingC and non-inheritable BindingB
+ //Q overrides declaring BindingC with another value.
+ Set<IBean> beans = getBeans("org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.Y");
+ assertEquals("Wrong number of the beans", 1, beans.size());
+ IClassBean bean = (IClassBean)beans.iterator().next();
+
+ Set<IInterceptorBinding> bs = bean.getInterceptorBindings();
+ assertEquals("Wrong number of interceptor bindings", 2, bs.size());
+ assertContainsBindings(bs, "org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.BindingA", "org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.BindingC");
+ assertNotContainsBindings(bs, "tck.tests.interceptors.definition.inheritance.BindingB");
+
+ Set<IInterceptorBindingDeclaration> ds = bean.getInterceptorBindingDeclarations(true);
+ assertEquals("Wrong number of interceptor binding declarations", 2, ds.size());
+ assertContainsBindingDeclarationWithValue(ds, "org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.BindingC", "c2");
+
+ //Y1 inherits X directly.
+ beans = getBeans("org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.Y1");
+ assertEquals("Wrong number of the beans", 1, beans.size());
+ bean = (IClassBean)beans.iterator().next();
+
+ bs = bean.getInterceptorBindings();
+ assertEquals("Wrong number of interceptor bindings", 2, bs.size());
+ assertContainsBindings(bs, "org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.BindingA", "org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.BindingC");
+ assertNotContainsBindings(bs, "tck.tests.interceptors.definition.inheritance.BindingB");
+
+ ds = bean.getInterceptorBindingDeclarations(true);
+ assertEquals("Wrong number of interceptor binding declarations", 2, ds.size());
+ assertContainsBindingDeclarationWithValue(ds, "org.jboss.jsr299.tck.tests.interceptors.definition.inheritance.BindingC", "c1");
+ }
+
+ void assertContainsBindings(Set<IInterceptorBinding> bs, String... classNames) {
+ Set<String> bsn = new HashSet<String>();
+ for (IInterceptorBinding b: bs) {
+ bsn.add(b.getSourceType().getFullyQualifiedName());
+ }
+ for (String cn: classNames) {
+ assertTrue("Set of interceptor bindings should include " + cn, bsn.contains(cn));
+ }
+ }
+
+ void assertNotContainsBindings(Set<IInterceptorBinding> bs, String... classNames) {
+ Set<String> bsn = new HashSet<String>();
+ for (IInterceptorBinding b: bs) {
+ bsn.add(b.getSourceType().getFullyQualifiedName());
+ }
+ for (String cn: classNames) {
+ assertFalse("Set of interceptor bindings should not include " + cn, bsn.contains(cn));
+ }
+ }
+
+ void assertContainsBindingDeclarationWithValue(Set<IInterceptorBindingDeclaration> bs, String className, String value) throws JavaModelException {
+ for (IInterceptorBindingDeclaration b: bs) {
+ if(className.equals(b.getInterceptorBinding().getSourceType().getFullyQualifiedName())) {
+ IAnnotation a = b.getDeclaration();
+ IMemberValuePair[] ps = a.getMemberValuePairs();
+ for (IMemberValuePair p: ps) {
+ if(p.getMemberName().equals("value")) {
+ assertEquals(value, p.getValue());
+ return;
+ }
+ }
+ fail("Value " + value + " is not found at declaration.");
+ }
+ }
+ fail("Set of interceptor bindings should include " + className);
+
+ }
+
+}
15 years, 9 months
JBoss Tools SVN: r23404 - trunk/bpel/docs/reference/en-US/modules.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-07-14 09:27:53 -0400 (Wed, 14 Jul 2010)
New Revision: 23404
Modified:
trunk/bpel/docs/reference/en-US/modules/install.xml
Log:
Remove reference to JBDS
https://jira.jboss.org/browse/TOOLSDOC-90
Modified: trunk/bpel/docs/reference/en-US/modules/install.xml
===================================================================
--- trunk/bpel/docs/reference/en-US/modules/install.xml 2010-07-14 13:24:36 UTC (rev 23403)
+++ trunk/bpel/docs/reference/en-US/modules/install.xml 2010-07-14 13:27:53 UTC (rev 23404)
@@ -2,7 +2,7 @@
<title>Installating the JBoss BPEL Tools</title>
<section id="installeclipse">
<title>BPEL Editor</title>
- <para>The JBoss BPEL Editor and deployment framework are available in the community-supported distribution of JBoss Tools and are now also bundled into the commerically available JBoss Developer Studio (JBDS). As of this writing, the tools can be installed from the JBoss update site using either the Eclipse 3.5 Galileo or Eclipse 3.6 Helios releases. The Eclipse distributions can be downloaded from the <ulink url="http://eclipse.org/downloads/">Eclipse Web Site</ulink>.
+ <para>The JBoss BPEL Editor and deployment framework are available in the community-supported distribution of JBoss Tools. As of this writing, the tools can be installed from the JBoss update site using either the Eclipse 3.5 Galileo or Eclipse 3.6 Helios releases. The Eclipse distributions can be downloaded from the <ulink url="http://eclipse.org/downloads/">Eclipse Web Site</ulink>.
</para>
<para>The JBoss BPEL Editor may also be installed as a stand-alone plug-in. See <ulink url="http://www.jboss.org/tools/download/installation.html">Installing JBoss Tools</ulink> for more information.</para>
</section>
15 years, 9 months
JBoss Tools SVN: r23403 - in trunk/hibernatetools: plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-07-14 09:24:36 -0400 (Wed, 14 Jul 2010)
New Revision: 23403
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences/PreferencesClassPathUtils.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test1.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test2.xml
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test1.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test2.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test1.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test2.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java
Log:
https://jira.jboss.org/browse/JBIDE-6595 - fix for (5), (6), (7), (8), (9), (10)
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -27,6 +27,7 @@
public static final String ENTITYRESOLVER = "entityResolver"; //$NON-NLS-1$
public static final String NAMINGSTRATEGY = "namingStrategy"; //$NON-NLS-1$
public static final String PERSISTENCEUNIT = "persistenceUnit"; //$NON-NLS-1$
+ public static final String PREFERBASICCOMPOSITEIDS = "preferBasicCompositeIds"; //$NON-NLS-1$
public static final String DETECTMANYTOMANY = "detectManyToMany"; //$NON-NLS-1$
public static final String DETECTONTTOONE = "detectOneToOne"; //$NON-NLS-1$
public static final String DETECTOPTIMISTICLOCK = "detectOptimisticLock"; //$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -207,7 +207,7 @@
overrides.put("hibernate.ejb.naming_strategy", prefs.getNamingStrategy()); //$NON-NLS-1$
}
if (StringHelper.isNotEmpty(prefs.getDialectName())) {
- overrides.put("hibernate.dialect", prefs.getDialectName()); //$NON-NLS-1$
+ overrides.put(Environment.DIALECT, prefs.getDialectName());
}
if (!includeMappings) {
overrides.put("hibernate.archive.autodetection", "none"); //$NON-NLS-1$//$NON-NLS-2$
@@ -274,7 +274,7 @@
localCfg = configureConnectionProfile(localCfg);
// replace dialect if it is set in preferences
if (StringHelper.isNotEmpty(prefs.getDialectName())) {
- localCfg.setProperty("hibernate.dialect", prefs.getDialectName()); //$NON-NLS-1$
+ localCfg.setProperty(Environment.DIALECT, prefs.getDialectName());
}
return localCfg;
}
@@ -367,15 +367,14 @@
}
private Configuration configureConnectionProfile(Configuration localCfg) {
- String connectionProfile = prefs.getConnectionProfileName();
- if (connectionProfile == null) {
+ String connProfileName = prefs.getConnectionProfileName();
+ if (connProfileName == null) {
return localCfg;
}
IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(
- connectionProfile);
+ connProfileName);
if (profile != null) {
- DriverInstance driverInstance =
- ConnectionProfileUtil.getDriverDefinition(prefs.getConnectionProfileName());
+ DriverInstance driverInstance = ConnectionProfileUtil.getDriverDefinition(connProfileName);
final Properties cpProperties = profile.getProperties(profile.getProviderId());
final Properties invokeProperties = localCfg.getProperties();
// set this property to null!
@@ -405,7 +404,7 @@
} else {
String out = NLS.bind(
ConsoleMessages.ConsoleConfiguration_connection_profile_not_found,
- connectionProfile);
+ connProfileName);
throw new HibernateConsoleRuntimeException(out);
}
return localCfg;
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -87,7 +87,7 @@
File[] mappingFiles = prefs.getMappingFiles();
if (mappingFiles.length > 0) {
Element fileset = root.addElement("fileset"); //$NON-NLS-1$
- fileset.addAttribute("dir", "./src"); //$NON-NLS-1$ //$NON-NLS-2$
+ fileset.addAttribute("dir", "."); //$NON-NLS-1$ //$NON-NLS-2$
fileset.addAttribute("id", "id"); //$NON-NLS-1$ //$NON-NLS-2$
for (int i = 0; i < mappingFiles.length; i++) {
Element include = fileset.addElement("include"); //$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -22,7 +22,6 @@
package org.hibernate.console;
import java.io.File;
-import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
@@ -46,6 +45,7 @@
import org.hibernate.console.execution.ExecutionContextHolder;
import org.hibernate.console.execution.ExecutionContext.Command;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
+import org.hibernate.console.preferences.PreferencesClassPathUtils;
public class ConsoleConfiguration implements ExecutionContextHolder {
@@ -117,61 +117,9 @@
configuration = buildWith(null, true);
fireConfigurationBuilt();
}
-
- /*
- * get custom classpath URLs
- */
- protected URL[] getCustomClassPathURLs() {
- URL[] customClassPathURLsTmp = prefs.getCustomClassPathURLS();
- URL[] customClassPathURLs = null;
- String driverURL = ConnectionProfileUtil.getConnectionProfileDriverURL(prefs.getConnectionProfileName());
- URL[] urls = null;
- if (driverURL != null) {
- String[] driverURLParts = driverURL.split(";"); //$NON-NLS-1$
- urls = new URL[driverURLParts.length];
- for (int i = 0; i < driverURLParts.length; i++) {
- try {
- urls[i] = new URL("file:/" + driverURLParts[i].trim()); //$NON-NLS-1$
- } catch (MalformedURLException e) {
- urls[i] = null;
- }
- }
- }
- // should DTP connection profile driver jar file be inserted
- int insertItems = ( urls != null ) ? urls.length : 0;
- if (insertItems > 0) {
- insertItems = 0;
- for (int i = 0; i < urls.length; i++) {
- if (urls[i] == null) {
- continue;
- }
- int j = 0;
- for (; j < customClassPathURLsTmp.length; j++) {
- if (customClassPathURLsTmp[j].equals(urls[i])) {
- break;
- }
- }
- if (j == customClassPathURLsTmp.length) {
- urls[insertItems++] = urls[i];
- }
- }
- }
- if (insertItems > 0) {
- customClassPathURLs = new URL[customClassPathURLsTmp.length + insertItems];
- System.arraycopy(customClassPathURLsTmp, 0,
- customClassPathURLs, 0, customClassPathURLsTmp.length);
- // insert DTP connection profile driver jar file URL after the default classpath entries
- for (int i = 0; i < insertItems; i++) {
- customClassPathURLs[customClassPathURLsTmp.length + i] = urls[i];
- }
- } else {
- customClassPathURLs = customClassPathURLsTmp;
- }
- return customClassPathURLs;
- }
protected ConsoleConfigClassLoader createClassLoader() {
- final URL[] customClassPathURLs = getCustomClassPathURLs();
+ final URL[] customClassPathURLs = PreferencesClassPathUtils.getCustomClassPathURLs(prefs);
ConsoleConfigClassLoader classLoader = AccessController.doPrivileged(new PrivilegedAction<ConsoleConfigClassLoader>() {
public ConsoleConfigClassLoader run() {
return new ConsoleConfigClassLoader(customClassPathURLs, getParentClassLoader()) {
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences/PreferencesClassPathUtils.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences/PreferencesClassPathUtils.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences/PreferencesClassPathUtils.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -0,0 +1,73 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.console.preferences;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.hibernate.console.ConnectionProfileUtil;
+
+/**
+ * Utils class to extract classpath urls from ConsoleConfigurationPreferences
+ */
+public class PreferencesClassPathUtils {
+ /*
+ * get custom classpath URLs
+ */
+ public static URL[] getCustomClassPathURLs(ConsoleConfigurationPreferences prefs) {
+ URL[] customClassPathURLsTmp = prefs.getCustomClassPathURLS();
+ URL[] customClassPathURLs = null;
+ String driverURL = ConnectionProfileUtil.getConnectionProfileDriverURL(prefs.getConnectionProfileName());
+ URL[] urls = null;
+ if (driverURL != null) {
+ String[] driverURLParts = driverURL.split(";"); //$NON-NLS-1$
+ urls = new URL[driverURLParts.length];
+ for (int i = 0; i < driverURLParts.length; i++) {
+ try {
+ urls[i] = new URL("file:/" + driverURLParts[i].trim()); //$NON-NLS-1$
+ } catch (MalformedURLException e) {
+ urls[i] = null;
+ }
+ }
+ }
+ // should DTP connection profile driver jar file be inserted
+ int insertItems = ( urls != null ) ? urls.length : 0;
+ if (insertItems > 0) {
+ insertItems = 0;
+ for (int i = 0; i < urls.length; i++) {
+ if (urls[i] == null) {
+ continue;
+ }
+ int j = 0;
+ for (; j < customClassPathURLsTmp.length; j++) {
+ if (customClassPathURLsTmp[j].equals(urls[i])) {
+ break;
+ }
+ }
+ if (j == customClassPathURLsTmp.length) {
+ urls[insertItems++] = urls[i];
+ }
+ }
+ }
+ if (insertItems > 0) {
+ customClassPathURLs = new URL[customClassPathURLsTmp.length + insertItems];
+ System.arraycopy(customClassPathURLsTmp, 0,
+ customClassPathURLs, 0, customClassPathURLsTmp.length);
+ // insert DTP connection profile driver jar file URL after the default classpath entries
+ for (int i = 0; i < insertItems; i++) {
+ customClassPathURLs[customClassPathURLsTmp.length + i] = urls[i];
+ }
+ } else {
+ customClassPathURLs = customClassPathURLsTmp;
+ }
+ return customClassPathURLs;
+ }
+}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -42,36 +42,34 @@
public class ExportAntCodeGenWizardPage extends WizardNewFileCreationPage implements Listener {
protected ComboDialogField consoleConfigurationName;
-
+
/**
- * Creates a new file creation (Ant code generation) wizard page.
- * If the initial resource selection contains exactly one
- * container resource then it will be used as
- * the default container resource.
+ * Creates a new file creation (Ant code generation) wizard page. If the initial resource
+ * selection contains exactly one container resource then it will be used as the default
+ * container resource.
*
* @param pageName
* the name of the page
* @param selection
* the current resource selection
*/
- public ExportAntCodeGenWizardPage(String pageName,
- IStructuredSelection selection) {
+ public ExportAntCodeGenWizardPage(String pageName, IStructuredSelection selection) {
super(pageName, selection);
setPageComplete(false);
}
- /**
- * @see #setControl(Control)
- */
+ /**
+ * @see #setControl(Control)
+ */
protected void setControl(Control newControl) {
newControl.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
| GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
super.setControl(newControl);
- }
+ }
- /**
- * @see #createControl(Composite)
- */
+ /**
+ * @see #createControl(Composite)
+ */
public void createControl(Composite parent) {
initializeDialogUnits(parent);
Composite topLevel = new Composite(parent, SWT.NONE);
@@ -80,7 +78,7 @@
layout.marginWidth = 0;
topLevel.setLayout(layout);
topLevel.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
- | GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
+ | GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
topLevel.setFont(parent.getFont());
setControlCombo(topLevel);
super.createControl(topLevel);
@@ -89,8 +87,8 @@
protected void setControlCombo(Control newControl) {
consoleConfigurationName = new ComboDialogField(SWT.READ_ONLY);
- consoleConfigurationName.setLabelText(
- HibernateConsoleMessages.ExportAntCodeGenWizardPage_hibernate_code_generation_configurations);
+ consoleConfigurationName
+ .setLabelText(HibernateConsoleMessages.ExportAntCodeGenWizardPage_hibernate_code_generation_configurations);
ILaunchConfiguration[] launchCfgs;
try {
launchCfgs = LaunchHelper.findFilteredCodeGenerationConfigs();
@@ -109,12 +107,12 @@
}
};
consoleConfigurationName.setDialogFieldListener(fieldlistener);
- consoleConfigurationName.doFillIntoGrid((Composite)newControl, 2);
- }
+ consoleConfigurationName.doFillIntoGrid((Composite) newControl, 2);
+ }
- /**
- * @see #validatePage()
- */
+ /**
+ * @see #validatePage()
+ */
protected boolean validatePage() {
boolean res = super.validatePage();
if (res) {
@@ -125,7 +123,7 @@
}
return res;
}
-
+
public ILaunchConfiguration getSelectedLaunchConfig() {
ILaunchConfiguration[] launchCfgs;
try {
@@ -149,13 +147,15 @@
Element rootBuildXml = cgfXML.createRoot();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ConfigurationXMLFactory.dump(baos, rootBuildXml);
+ String baosResult = CodeGenXMLFactory.replaceString(baos.toString(),
+ cgfXML.getPropFileContentStubUID(), cgfXML.getPropFileContentPreSave());
//
ByteArrayInputStream bais = null;
try {
- bais = new ByteArrayInputStream(baos.toString().getBytes("UTF-8")); //$NON-NLS-1$
+ bais = new ByteArrayInputStream(baosResult.getBytes("UTF-8")); //$NON-NLS-1$
} catch (UnsupportedEncodingException uec) {
HibernateConsolePlugin.getDefault()
- .logErrorMessage("Problems converting to UTF-8", uec); //$NON-NLS-1$
+ .logErrorMessage("Problems converting to UTF-8", uec); //$NON-NLS-1$
bais = new ByteArrayInputStream(baos.toString().getBytes());
}
return bais;
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -17,18 +17,27 @@
*/
public class CGS {
//
+ public static final String ID = "id"; //$NON-NLS-1$
public static final String NAME = "name"; //$NON-NLS-1$
+ public static final String DEPENDS = "depends"; //$NON-NLS-1$
public static final String KEY = "key"; //$NON-NLS-1$
public static final String VALUE = "value"; //$NON-NLS-1$
public static final String LOCATION = "location"; //$NON-NLS-1$
public static final String DEFAULT = "default"; //$NON-NLS-1$
+ public static final String PATH = "path"; //$NON-NLS-1$
+ public static final String PATHELEMENT = "pathelement"; //$NON-NLS-1$
public static final String PROPERTY = "property"; //$NON-NLS-1$
public static final String PROJECT = "project"; //$NON-NLS-1$
public static final String TARGET = "target"; //$NON-NLS-1$
public static final String TASKDEF = "taskdef"; //$NON-NLS-1$
public static final String CLASSNAME = "classname"; //$NON-NLS-1$
+ public static final String CLASSPATH = "classpath"; //$NON-NLS-1$
+ public static final String CLASSPATHREF = "classpathref"; //$NON-NLS-1$
public static final String DESTDIR = "destdir"; //$NON-NLS-1$
+ public static final String TEMPLATEPATH = "templatepath"; //$NON-NLS-1$
public static final String EJB3 = "ejb3"; //$NON-NLS-1$
public static final String JDK5 = "jdk5"; //$NON-NLS-1$
public static final String HIBERNATETOOL = "hibernatetool"; //$NON-NLS-1$
+ public static final String ECHO = "echo"; //$NON-NLS-1$
+ public static final String FILE = "file"; //$NON-NLS-1$
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.hibernate.eclipse.launch;
+import java.net.URISyntaxException;
+import java.net.URL;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@@ -21,15 +23,21 @@
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.datatools.connectivity.IConnectionProfile;
+import org.eclipse.datatools.connectivity.ProfileManager;
+import org.eclipse.datatools.connectivity.drivers.DriverInstance;
import org.eclipse.debug.core.ILaunchConfiguration;
+import org.hibernate.cfg.Environment;
import org.hibernate.console.CFS;
import org.hibernate.console.ConfigurationXMLFactory;
import org.hibernate.console.ConnectionProfileUtil;
import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.console.KnownConfigurations;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
+import org.hibernate.console.preferences.PreferencesClassPathUtils;
import org.hibernate.eclipse.console.model.impl.ExporterFactory;
import org.hibernate.eclipse.console.model.impl.ExporterProperty;
+import org.hibernate.util.StringHelper;
/**
* XML document part creation factory,
@@ -39,6 +47,12 @@
* @author Vitali Yemialyanchyk
*/
public class CodeGenXMLFactory {
+
+ public static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
+ public static final long versionUID4PropFile = 1841714864553304000L;
+
+ protected String propFileContentPreSave = null;
+
protected ILaunchConfiguration lc = null;
public CodeGenXMLFactory(ILaunchConfiguration lc) {
@@ -60,6 +74,7 @@
if (attributes.isReverseEngineer()) {
props.setProperty(CFS.ISREVENG, Boolean.toString(attributes.isReverseEngineer()));
props.setProperty(CFS.PACKAGENAME, attributes.getPackageName());
+ props.setProperty(CFS.PREFERBASICCOMPOSITEIDS, Boolean.toString(attributes.isPreferBasicCompositeIds()));
props.setProperty(CFS.DETECTMANYTOMANY, Boolean.toString(attributes.detectManyToMany()));
props.setProperty(CFS.DETECTONTTOONE, Boolean.toString(attributes.detectOneToOne()));
props.setProperty(CFS.DETECTOPTIMISTICLOCK, Boolean.toString(attributes.detectOptimisticLock()));
@@ -74,30 +89,134 @@
consoleConfigPrefs, props);
Element rootConsoleConfig = csfXML.createRoot();
//
+ String defaultTargetName = "JdbcCodeGen"; //$NON-NLS-1$
Element root = DocumentFactory.getInstance().createElement(CGS.PROJECT);
root.addAttribute(CGS.NAME, "CodeGen"); //$NON-NLS-1$
- String defaultTargetName = "JdbcCodeGen"; //$NON-NLS-1$
root.addAttribute(CGS.DEFAULT, defaultTargetName);
+ //
+ String location = getResLocation(attributes.getOutputPath());
Element el = root.addElement(CGS.PROPERTY);
el.addAttribute(CGS.NAME, "build.dir"); //$NON-NLS-1$
- String location = getResLocation(attributes.getOutputPath());
el.addAttribute(CGS.LOCATION, location);
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, "jdbc.driver"); //$NON-NLS-1$
- String driverURL = getConnectionProfileDriverURL(consoleConfigPrefs.getConnectionProfileName());
- el.addAttribute(CGS.LOCATION, driverURL);
//
+ String hibernatePropFile = null;
+ String generateHibernatePropeties = null;
+ String connProfileName = consoleConfigPrefs.getConnectionProfileName();
+ if (!isEmpty(connProfileName)) {
+ IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(connProfileName);
+ if (profile != null) {
+ StringBuilder propFileContent = new StringBuilder();
+ DriverInstance driverInstance = ConnectionProfileUtil.getDriverDefinition(connProfileName);
+ final Properties cpProperties = profile.getProperties(profile.getProviderId());
+ //
+ /** /
+ String driverURL = getConnectionProfileDriverURL(connProfileName);
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, "jdbc.driver"); //$NON-NLS-1$
+ el.addAttribute(CGS.LOCATION, driverURL);
+ /**/
+ //
+ String driverClass = driverInstance.getProperty("org.eclipse.datatools.connectivity.db.driverClass"); //$NON-NLS-1$
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, Environment.DRIVER);
+ el.addAttribute(CGS.VALUE, driverClass);
+ addIntoPropFileContent(propFileContent, Environment.DRIVER);
+ //
+ String url = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.URL"); //$NON-NLS-1$
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, Environment.URL);
+ el.addAttribute(CGS.VALUE, url);
+ addIntoPropFileContent(propFileContent, Environment.URL);
+ //
+ String user = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.username"); //$NON-NLS-1$
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, Environment.USER);
+ el.addAttribute(CGS.VALUE, user);
+ addIntoPropFileContent(propFileContent, Environment.USER);
+ //
+ String pass = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.password"); //$NON-NLS-1$
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, Environment.PASS);
+ el.addAttribute(CGS.VALUE, pass);
+ addIntoPropFileContent(propFileContent, Environment.PASS);
+ //
+ String dialectName = consoleConfigPrefs.getDialectName();
+ if (StringHelper.isNotEmpty(dialectName)) {
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, Environment.DIALECT);
+ el.addAttribute(CGS.VALUE, dialectName);
+ addIntoPropFileContent(propFileContent, Environment.DIALECT);
+ }
+ //
+ hibernatePropFile = "hibernatePropFile"; //$NON-NLS-1$
+ el = root.addElement(CGS.PROPERTY);
+ el.addAttribute(CGS.NAME, hibernatePropFile);
+ el.addAttribute(CGS.VALUE, "${java.io.tmpdir}${ant.project.name}-hibernate.properties"); //$NON-NLS-1$
+ //
+ generateHibernatePropeties = "generateHibernatePropeties"; //$NON-NLS-1$
+ Element target = root.addElement(CGS.TARGET);
+ target.addAttribute(CGS.NAME, generateHibernatePropeties);
+ //
+ hibernatePropFile = "${" + hibernatePropFile + "}"; //$NON-NLS-1$ //$NON-NLS-2$
+ Element echo = target.addElement(CGS.ECHO);
+ echo.addAttribute(CGS.FILE, hibernatePropFile);
+ echo.addText(getPropFileContentStubUID());
+ //echo.addText(propFileContent.toString());
+ propFileContentPreSave = propFileContent.toString();
+ }
+ }
+ // all jars from libraries should be here
+ String toolslibID = "toolslib"; //$NON-NLS-1$
+ Element toolslib = root.addElement(CGS.PATH);
+ toolslib.addAttribute(CGS.ID, toolslibID);
+ final URL[] customClassPathURLs = PreferencesClassPathUtils.getCustomClassPathURLs(consoleConfigPrefs);
+ for (int i = 0; i < customClassPathURLs.length; i++) {
+ if (customClassPathURLs[i] == null) {
+ continue;
+ }
+ // what is right here: CGS.PATH or CGS.PATHELEMENT?
+ // http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/en/hibernatetools...
+ // use CGS.PATH - so may be error in documentation?
+ Element pathItem = toolslib.addElement(CGS.PATH);
+ //Element pathItem = toolslib.addElement(CGS.PATHELEMENT);
+ String strPathItem = customClassPathURLs[i].getPath();
+ try {
+ strPathItem = (new java.io.File(customClassPathURLs[i].toURI())).getPath();
+ } catch (URISyntaxException e) {
+ // ignore
+ }
+ pathItem.addAttribute(CGS.LOCATION, strPathItem);
+ }
+ //
Element target = root.addElement(CGS.TARGET);
target.addAttribute(CGS.NAME, defaultTargetName);
+ if (!isEmpty(generateHibernatePropeties)) {
+ target.addAttribute(CGS.DEPENDS, generateHibernatePropeties);
+ }
//
Element taskdef = target.addElement(CGS.TASKDEF);
taskdef.addAttribute(CGS.NAME, CGS.HIBERNATETOOL);
taskdef.addAttribute(CGS.CLASSNAME, "org.hibernate.tool.ant.HibernateToolTask"); //$NON-NLS-1$
+ taskdef.addAttribute(CGS.CLASSPATHREF, toolslibID);
//
Element hibernatetool = target.addElement(CGS.HIBERNATETOOL);
hibernatetool.addAttribute(CGS.DESTDIR, "${build.dir}"); //$NON-NLS-1$
+ String templatePath = getResLocation(attributes.getTemplatePath());
+ if (attributes.isUseOwnTemplates()) {
+ hibernatetool.addAttribute(CGS.TEMPLATEPATH, templatePath);
+ }
+ //
+ if (StringHelper.isNotEmpty(hibernatePropFile)) {
+ rootConsoleConfig.addAttribute(CFS.PROPERTYFILE, hibernatePropFile);
+ }
+ // add hibernate console configuration
hibernatetool.content().add(rootConsoleConfig);
//
+ // the path there are user classes
+ Element classpath = hibernatetool.addElement(CGS.CLASSPATH);
+ Element path = classpath.addElement(CGS.PATH);
+ path.addAttribute(CGS.LOCATION, "${build.dir}"); //$NON-NLS-1$
+ //
Properties globalProps = new Properties();
globalProps.put(CGS.EJB3, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
globalProps.put(CGS.JDK5, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
@@ -144,6 +263,10 @@
return root;
}
+ public void addIntoPropFileContent(StringBuilder pfc, String str) {
+ pfc.append(NL + str + "=${" + str + "}"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
public ConsoleConfigurationPreferences getConsoleConfigPreferences(String consoleConfigName) {
ConsoleConfiguration consoleConfig = KnownConfigurations.getInstance().find(consoleConfigName);
return consoleConfig.getPreferences();
@@ -159,13 +282,41 @@
final IResource outputPathRes = findResource(path);
String location = ""; //$NON-NLS-1$
if (outputPathRes != null) {
- location = outputPathRes.getLocation().toString();
+ location = outputPathRes.getLocation().toOSString();
}
return location;
}
public String getConnectionProfileDriverURL(String connectionProfile) {
String driverURL = ConnectionProfileUtil.getConnectionProfileDriverURL(connectionProfile);
+ if (driverURL == null) {
+ driverURL = ""; //$NON-NLS-1$
+ }
return driverURL;
}
+
+ public boolean isEmpty(String str) {
+ return (str == null || str.length() == 0);
+ }
+
+ public String getPropFileContentStubUID() {
+ return Long.toHexString(versionUID4PropFile);
+ }
+
+ public String getPropFileContentPreSave() {
+ return propFileContentPreSave;
+ }
+
+ public static String replaceString(String input, String repl, String with) {
+ final StringBuffer tmp = new StringBuffer();
+ int startIdx = 0;
+ int idxOld = 0;
+ while ((idxOld = input.indexOf(repl, startIdx)) >= 0) {
+ tmp.append(input.substring(startIdx, idxOld));
+ tmp.append(with);
+ startIdx = idxOld + repl.length();
+ }
+ tmp.append(input.substring(startIdx));
+ return tmp.toString();
+ }
}
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test1.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test1.xml (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test1.xml 2010-07-14 13:24:36 UTC (rev 23403)
@@ -0,0 +1,32 @@
+<project name="CodeGen" default="JdbcCodeGen">
+ <property name="build.dir" location="ResLocation/test"/>
+ <path id="toolslib">
+ <path location="ejb3-persistence.jar"/>
+ <path location="hibernate3.jar"/>
+ <path location="hsqldb.jar"/>
+ </path>
+ <target name="JdbcCodeGen">
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
+ <hibernatetool destdir="${build.dir}">
+ <jpaconfiguration namingStrategy="testNamingStrategy" persistenceUnit="testPersistenceUnit">
+ <fileset dir="." id="id">
+ <include name="xxx.hbm.xml"/>
+ <include name="yyy.hbm.xml"/>
+ </fileset>
+ </jpaconfiguration>
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
+ <hbm2doc/>
+ <hbm2cfgxml/>
+ <hbm2hbmxml/>
+ <hbmtemplate>
+ <property key="jdk5" value="true"/>
+ <property key="ejb3" value="true"/>
+ </hbmtemplate>
+ <hbm2java jdk5="true" ejb3="true"/>
+ <hbm2ddl/>
+ <hbm2dao jdk5="true" ejb3="true"/>
+ </hibernatetool>
+ </target>
+</project>
\ No newline at end of file
Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test2.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test2.xml (rev 0)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test2.xml 2010-07-14 13:24:36 UTC (rev 23403)
@@ -0,0 +1,23 @@
+<project name="CodeGen" default="JdbcCodeGen">
+ <property name="build.dir" location="ResLocation/test"/>
+ <path id="toolslib">
+ <path location="ejb3-persistence.jar"/>
+ <path location="hibernate3.jar"/>
+ <path location="hsqldb.jar"/>
+ </path>
+ <target name="JdbcCodeGen">
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
+ <hibernatetool destdir="${build.dir}">
+ <jpaconfiguration namingStrategy="testNamingStrategy" persistenceUnit="testPersistenceUnit">
+ <fileset dir="." id="id">
+ <include name="xxx.hbm.xml"/>
+ <include name="yyy.hbm.xml"/>
+ </fileset>
+ </jpaconfiguration>
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
+ <hbm2java jdk5="true" ejb3="true"/>
+ </hibernatetool>
+ </target>
+</project>
\ No newline at end of file
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test1.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test1.xml 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test1.xml 2010-07-14 13:24:36 UTC (rev 23403)
@@ -1,10 +1,13 @@
<project name="CodeGen" default="JdbcCodeGen">
<property name="build.dir" location="ResLocation/test"/>
- <property name="jdbc.driver" location="TestDriverPath.jar"/>
+ <path id="toolslib"/>
<target name="JdbcCodeGen">
- <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask"/>
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<jdbcconfiguration configurationFile="project\src\hibernate.cfg.xml" detectManyToMany="true" detectOneToOne="true" detectOptimisticLock="true" revEngFile="ResLocation/test"/>
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
<hbm2doc/>
<hbm2cfgxml/>
<hbm2hbmxml/>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test2.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test2.xml 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test2.xml 2010-07-14 13:24:36 UTC (rev 23403)
@@ -1,10 +1,13 @@
<project name="CodeGen" default="JdbcCodeGen">
<property name="build.dir" location="ResLocation/test"/>
- <property name="jdbc.driver" location="TestDriverPath.jar"/>
+ <path id="toolslib"/>
<target name="JdbcCodeGen">
- <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask"/>
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<jdbcconfiguration configurationFile="project\src\hibernate.cfg.xml" detectManyToMany="true" detectOneToOne="true" detectOptimisticLock="true" revEngFile="ResLocation/test"/>
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
<hbm2java/>
</hibernatetool>
</target>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test1.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test1.xml 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test1.xml 2010-07-14 13:24:36 UTC (rev 23403)
@@ -1,10 +1,13 @@
<project name="CodeGen" default="JdbcCodeGen">
<property name="build.dir" location="ResLocation/test"/>
- <property name="jdbc.driver" location="TestDriverPath.jar"/>
+ <path id="toolslib"/>
<target name="JdbcCodeGen">
- <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask"/>
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<configuration configurationFile="project\src\hibernate.cfg.xml"/>
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
<hbm2doc/>
<hbm2cfgxml/>
<hbm2hbmxml/>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test2.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test2.xml 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test2.xml 2010-07-14 13:24:36 UTC (rev 23403)
@@ -1,10 +1,13 @@
<project name="CodeGen" default="JdbcCodeGen">
<property name="build.dir" location="ResLocation/test"/>
- <property name="jdbc.driver" location="TestDriverPath.jar"/>
+ <path id="toolslib"/>
<target name="JdbcCodeGen">
- <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask"/>
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<configuration configurationFile="project\src\hibernate.cfg.xml"/>
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
<hbm2java/>
</hibernatetool>
</target>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -15,6 +15,9 @@
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
@@ -44,6 +47,7 @@
public class CodeGenXMLFactoryTest extends TestCase {
public static final String SPECIMEN_PATH = "res/specimen/".replaceAll("//", File.separator); //$NON-NLS-1$ //$NON-NLS-2$
+ public static final String PROJECT_LIB_PATH = "res/project/lib/".replaceAll("//", File.separator); //$NON-NLS-1$ //$NON-NLS-2$
public static final String HBMTEMPLATE0 = "hbm2java"; //$NON-NLS-1$
public static final String HBMTEMPLATE0_PROPERTIES = HibernateLaunchConstants.ATTR_EXPORTERS
@@ -57,14 +61,70 @@
}
}
+ public class TestConsoleConfigPref2 extends TestConsoleConfigurationPreferences {
+ public File getConfigXMLFile() {
+ return null;
+ }
+
+ public File[] getMappingFiles() {
+ File[] files = new File[2];
+ files[0] = new File("xxx.hbm.xml"); //$NON-NLS-1$
+ files[1] = new File("yyy.hbm.xml"); //$NON-NLS-1$
+ return files;
+ }
+
+ public URL[] getCustomClassPathURLS() {
+ URL[] urls = new URL[4];
+ try {
+ urls[0] = new File("ejb3-persistence.jar").toURL(); //$NON-NLS-1$
+ urls[1] = new File("hibernate3.jar").toURL(); //$NON-NLS-1$
+ urls[2] = new File("hsqldb.jar").toURL(); //$NON-NLS-1$
+ urls[3] = null;
+ } catch (IOException e) {
+ }
+ return urls;
+ }
+ public String getEntityResolverName() {
+ return ""; //$NON-NLS-1$
+ }
+
+ public ConfigurationMode getConfigurationMode() {
+ return ConfigurationMode.JPA;
+ }
+
+ public String getNamingStrategy() {
+ return "testNamingStrategy"; //$NON-NLS-1$
+ }
+
+ public String getPersistenceUnitName() {
+ return "testPersistenceUnit"; //$NON-NLS-1$
+ }
+
+ public String getConnectionProfileName() {
+ return "jdbc:mysql://localhost:3306/jpa"; //$NON-NLS-1$
+ }
+
+ public String getDialectName() {
+ return "testDialect"; //$NON-NLS-1$
+ }
+ }
+
public class CodeGenXMLFactory4Test extends CodeGenXMLFactory {
+
+ protected boolean jpa = false;
- public CodeGenXMLFactory4Test(ILaunchConfiguration lc) {
+ public CodeGenXMLFactory4Test(ILaunchConfiguration lc, boolean jpa) {
super(lc);
+ this.jpa = jpa;
}
public ConsoleConfigurationPreferences getConsoleConfigPreferences(String consoleConfigName) {
- ConsoleConfigurationPreferences pref = new TestConsoleConfigPref();
+ ConsoleConfigurationPreferences pref;
+ if (jpa) {
+ pref = new TestConsoleConfigPref2();
+ } else {
+ pref = new TestConsoleConfigPref();
+ }
return pref;
}
@@ -78,36 +138,66 @@
}
public void testCodeGenXMLFactoryRevengAll() {
- String codeGen = codeGenXMLFactory(true, true);
+ String codeGen = codeGenXMLFactory(true, true, false);
String specimen = getSpecimen("AntCodeGenReveng_test1.xml"); //$NON-NLS-1$
assertEquals(specimen.trim(), codeGen.trim().replaceAll("\n", "\r\n")); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testCodeGenXMLFactoryRevengOne() {
- String codeGen = codeGenXMLFactory(true, false);
+ String codeGen = codeGenXMLFactory(true, false, false);
String specimen = getSpecimen("AntCodeGenReveng_test2.xml"); //$NON-NLS-1$
assertEquals(specimen.trim(), codeGen.trim().replaceAll("\n", "\r\n")); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testCodeGenXMLFactoryAll() {
- String codeGen = codeGenXMLFactory(false, true);
+ String codeGen = codeGenXMLFactory(false, true, false);
String specimen = getSpecimen("AntCodeGen_test1.xml"); //$NON-NLS-1$
assertEquals(specimen.trim(), codeGen.trim().replaceAll("\n", "\r\n")); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testCodeGenXMLFactoryOne() {
- String codeGen = codeGenXMLFactory(false, false);
+ String codeGen = codeGenXMLFactory(false, false, false);
String specimen = getSpecimen("AntCodeGen_test2.xml"); //$NON-NLS-1$
assertEquals(specimen.trim(), codeGen.trim().replaceAll("\n", "\r\n")); //$NON-NLS-1$ //$NON-NLS-2$
}
- public String codeGenXMLFactory(boolean reveng, boolean exportersAll) {
+ public void testCodeGenXMLFactoryJpaAll() {
+ String codeGen = codeGenXMLFactory(false, true, true);
+ codeGen = updatePaths(codeGen);
+ String specimen = getSpecimen("AntCodeGenJpa_test1.xml"); //$NON-NLS-1$
+ assertEquals(specimen.trim(), codeGen.trim().replaceAll("\n", "\r\n")); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testCodeGenXMLFactoryJpaOne() {
+ String codeGen = codeGenXMLFactory(false, false, true);
+ codeGen = updatePaths(codeGen);
+ String specimen = getSpecimen("AntCodeGenJpa_test2.xml"); //$NON-NLS-1$
+ assertEquals(specimen.trim(), codeGen.trim().replaceAll("\n", "\r\n")); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public String updatePaths(String codeGen) {
+ String repl = ""; //$NON-NLS-1$
+ try {
+ URI uri = new File("").toURL().toURI(); //$NON-NLS-1$
+ repl = (new File(uri)).getPath();
+ } catch (MalformedURLException e) {
+ } catch (URISyntaxException e) {
+ }
+ codeGen = CodeGenXMLFactory.replaceString(codeGen, repl + File.separator, ""); //$NON-NLS-1$
+ return codeGen;
+ }
+
+ public String codeGenXMLFactory(boolean reveng, boolean exportersAll, boolean jpa) {
Map<String, ExporterDefinition> exDefinitions = ExtensionManager.findExporterDefinitionsAsMap();
Map<String, Object> testLCAttr = new HashMap<String, Object>();
String tmp = "12345678901234567890"; //$NON-NLS-1$
testLCAttr.put(HibernateLaunchConstants.ATTR_TEMPLATE_DIR, tmp);
testLCAttr.put(HibernateLaunchConstants.ATTR_OUTPUT_DIR, tmp);
testLCAttr.put(HibernateLaunchConstants.ATTR_REVERSE_ENGINEER_SETTINGS, tmp);
+ if (jpa) {
+ testLCAttr.put(HibernateLaunchConstants.ATTR_ENABLE_EJB3_ANNOTATIONS, true);
+ testLCAttr.put(HibernateLaunchConstants.ATTR_ENABLE_JDK5, true);
+ }
List<String> exportersList = new ArrayList<String>();
if (exportersAll) {
exportersList.clear();
@@ -130,7 +220,7 @@
testLCAttr.put(HBMTEMPLATE0_PROPERTIES, expProps2);
testLCAttr.put(HibernateLaunchConstants.ATTR_REVERSE_ENGINEER, reveng);
TestLaunchConfig testLC = new TestLaunchConfig(testLCAttr);
- CodeGenXMLFactory cgfXML = new CodeGenXMLFactory4Test(testLC);
+ CodeGenXMLFactory cgfXML = new CodeGenXMLFactory4Test(testLC, jpa);
Element rootBuildXml = cgfXML.createRoot();
ConfigurationXMLFactory.dump(System.out, rootBuildXml);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
@@ -166,8 +256,11 @@
File resourceFolder = resourcePath.toFile();
URL entry = HibernateConsoleTestPlugin.getDefault().getBundle().getEntry(
strResPath);
- URL resProject = FileLocator.resolve(entry);
- String tplPrjLcStr = FileLocator.resolve(resProject).getFile();
+ String tplPrjLcStr = strResPath;
+ if (entry != null) {
+ URL resProject = FileLocator.resolve(entry);
+ tplPrjLcStr = FileLocator.resolve(resProject).getFile();
+ }
resourceFolder = new File(tplPrjLcStr);
return resourceFolder;
}
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -30,6 +30,8 @@
suite.addTestSuite(QueryPageViewerTest.class);
suite.addTestSuite(HBMInfoExtractorTest.class);
+
+ suite.addTestSuite(CodeGenXMLFactoryTest.class);
// core tests
//Properties properties = new Properties();
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java 2010-07-14 10:13:42 UTC (rev 23402)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java 2010-07-14 13:24:36 UTC (rev 23403)
@@ -8,6 +8,7 @@
import junit.framework.Assert;
import org.eclipse.core.runtime.FileLocator;
+import org.hibernate.cfg.Environment;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
import org.hibernate.eclipse.console.test.ConsoleTestMessages;
import org.hibernate.eclipse.console.test.HibernateConsoleTestPlugin;
@@ -48,7 +49,7 @@
public Properties getProperties() {
Properties p = new Properties();
- p.setProperty("hibernate.dialect", "org.hibernate.dialect.HSQLDialect"); //$NON-NLS-1$ //$NON-NLS-2$
+ p.setProperty(Environment.DIALECT, "org.hibernate.dialect.HSQLDialect"); //$NON-NLS-1$
return p;
}
@@ -73,17 +74,14 @@
}
public String getNamingStrategy() {
- // TODO Auto-generated method stub
return null;
}
public String getPersistenceUnitName() {
- // TODO Auto-generated method stub
return null;
}
public String getConnectionProfileName() {
- // TODO Auto-generated method stub
return null;
}
@@ -92,7 +90,6 @@
* @see org.hibernate.console.preferences.ConsoleConfigurationPreferences#getDialectName()
*/
public String getDialectName() {
- // TODO Auto-generated method stub
return null;
}
15 years, 9 months
JBoss Tools SVN: r23402 - in trunk: jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2010-07-14 06:13:42 -0400 (Wed, 14 Jul 2010)
New Revision: 23402
Modified:
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/NewXHTMLPageWizardTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java
Log:
Fixes for JBT 3.2.0.M1
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -25,7 +25,7 @@
public static final String NEW_BUTTON = "New..."; //$NON-NLS-1$
public static final String WINDOW_MENU = "Window"; //$NON-NLS-1$
public static final String PREFERENCES = "Preferences"; //$NON-NLS-1$
- public static final String VPE_TEMPLATES_TAB = "Templates"; //$NON-NLS-1$
+ public static final String VPE_TEMPLATES_TAB = "Visual Templates"; //$NON-NLS-1$
public static final String PREF_FILTER_SHELL_TITLE = "Preferences (Filtered)"; //$NON-NLS-1$
public static final String ADD_BUTTON = "Add"; //$NON-NLS-1$
public static final String EDIT_BUTTON = "Edit"; //$NON-NLS-1$
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -3453,7 +3453,7 @@
*/
public static final String CHB_ADD_PROJECT_TO_WORKING_SETS = "Add project to working sets";
}
- public static class JBossToolsWebJSPFile {
+ public static class WebJSPFile {
/**
* represents item : JBoss Tools Web->JSP File
*/
@@ -3461,7 +3461,7 @@
public String getName() { return "JSP File";}
public List<String> getGroupPath() {
List<String> l = new Vector<String>();
- l.add("JBoss Tools Web");
+ l.add("Web");
return l;
}
};
@@ -3470,9 +3470,9 @@
*/
public static final String TEXT_FOLDER = "Folder*";
/**
- * text field labeled 'Name*'
+ * text field labeled 'File name'
*/
- public static final String TEXT_NAME = "Name*";
+ public static final String TEXT_FILE_NAME = "File name:";
}
public static class SeamSeamConversation {
/**
@@ -4112,7 +4112,7 @@
* represents item : Web->JSP
*/
public static final INewObject LABEL = new INewObject() {
- public String getName() { return "JSP";}
+ public String getName() { return "JSP File";}
public List<String> getGroupPath() {
List<String> l = new Vector<String>();
l.add("Web");
@@ -4683,7 +4683,7 @@
* represents item : JBoss Tools Web->XHTML File
*/
public static final INewObject LABEL = new INewObject() {
- public String getName() { return "XHTML File";}
+ public String getName() { return "XHTML Page";}
public List<String> getGroupPath() {
List<String> l = new Vector<String>();
l.add("JBoss Tools Web");
@@ -4697,7 +4697,7 @@
/**
* text field labeled 'Name*'
*/
- public static final String TEXT_NAME = "Name*";
+ public static final String TEXT_FILE_NAME = "File name:";
}
public static class JBossToolsWebHTMLFile {
/**
@@ -4725,7 +4725,7 @@
* represents item : Web->CSS
*/
public static final INewObject LABEL = new INewObject() {
- public String getName() { return "CSS";}
+ public String getName() { return "CSS File";}
public List<String> getGroupPath() {
List<String> l = new Vector<String>();
l.add("Web");
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileRenameHelper.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -31,7 +31,7 @@
*
*/
public class FileRenameHelper {
- private static final int sleepTime = 1000;
+ private static final int sleepTime = Timing.time2S();
/**
* Check File Renaming
* @param bot
@@ -53,14 +53,14 @@
if (treePathItems != null && treePathItems.length > 0){
SWTBotTreeItem parentTreeItem = tree.getTreeItem(treePathItems[0]);
parentTreeItem.expand();
- bot.sleep(1000);
+ bot.sleep(Timing.time1S());
parentTreeItem.select();
- bot.sleep(1000);
+ bot.sleep(Timing.time1S());
// Do not remove this part of code otherwise tree view is not populated properly
parentTreeItem.collapse();
- bot.sleep(1000);
+ bot.sleep(Timing.time1S());
parentTreeItem.expand();
- bot.sleep(1000);
+ bot.sleep(Timing.time1S());
int index = 1;
while (treePathItems.length > index){
parentTreeItem = parentTreeItem.getNode(treePathItems[index]);
@@ -79,6 +79,7 @@
.setText(newFileName);
bot.button(IDELabel.Button.OK).click();
new SWTUtilExt(bot).waitForAll(60 * 1000L);
+ bot.sleep(Timing.time5S());
// Check Results
// File with Old Name doesn't exists within WebProjects View
try{
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -110,9 +110,9 @@
public static final String NEW = "New";
public static final String SAVE_RESOURCE = "Save Resource";
public static final String RENAME_RESOURCE = "Rename Resource";
- public static final String NEW_JSP_FILE = "New File JSP";
+ public static final String NEW_JSP_FILE = "New JSP File";
public static final String PROPERTIES = "Properties";
- public static final String NEW_XHTML_FILE = "New File XHTML";
+ public static final String NEW_XHTML_FILE = "New XHTML Page";
public static final String IMPORT_JSF_PROJECT = "Import JSF Project";
public static final String IMPORT = "Import";
public static final String DELETE_SERVER = "Delete Server";
@@ -280,6 +280,7 @@
public static final String NAME = "Name*";
public static final String TEMPLATE = "Template";
public static final String TEMPLATE_JSF_BASE_PAGE = "JSFBasePage";
+ public static final String JSP_TEMPLATE = "New JSP File (html)";
}
@@ -294,6 +295,8 @@
public static final String NAME = "Name*";
public static final String TEMPLATE = "Template";
public static final String TEMPLATE_FACELET_FORM_XHTML = "FaceletForm.xhtml";
+ public static final String TEMPLATE_FACELET_FORM_XHTML_NAME = "Form Facelet Page";
+ public static final String USE_XHTML_TEMPLATE_CHECK_BOX = "Use XHTML Template";
}
@@ -344,8 +347,12 @@
public static final String SERVER_GROUP = "Server";
public static final String RUNTIME_ENVIRONMENTS = "Runtime Environments";
public static final String DROOLS_GROUP = "Drools";
- public static final String INSTALLED_DROOLS_RUNTIMES = "Installed Drools Runtimes";
-
+ public static final String INSTALLED_DROOLS_RUNTIMES = "Installed Drools Runtimes";
+ public static final String JBOSS_TOOLS = "JBoss Tools";
+ public static final String JBOSS_TOOLS_WEB = "Web";
+ public static final String JBOSS_TOOLS_WEB_EDITORS = "Editors";
+ public static final String JBOSS_TOOLS_WEB_EDITORS_VPE = "Visual Page Editor";
+ public static final String JBOSS_TOOLS_WEB_EDITORS_VPE_VISUAL_TEMPLATES = "Visual Templates";
}
public static class JBossServerRuntimeDialog {
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -348,4 +348,10 @@
protected abstract boolean isUnuseDialogOpened();
+ protected void openPage(){
+ SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
+ SWTBotTree tree = innerBot.tree();
+ tree.expandNode(JBT_TEST_PROJECT_NAME)
+ .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$
+ }
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -8,6 +8,7 @@
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEclipseEditor;
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.Timing;
import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.Activator;
import org.jboss.tools.vpe.ui.bot.test.VPEAutoTestCase;
@@ -74,6 +75,7 @@
bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
editor.setText(editorText);
editor.save();
+ bot.sleep(Timing.time2S());
}
super.tearDown();
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -5,6 +5,8 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
public class AddSubstitutedELExpressionFolderScopeTest extends SubstitutedELTestCase{
@@ -40,11 +42,11 @@
innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
.getNode(TEST_FOLDER).select();
- bot.menu("File").menu("New").menu("JSP File").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ open.newObject(ActionItem.NewObject.WebJSP.LABEL);
- bot.shell("New File JSP").activate(); //$NON-NLS-1$
- bot.textWithLabel("Name*").setText(TEST_PAGE_FOR_FOLDER); //$NON-NLS-1$
- bot.button("Finish").click(); //$NON-NLS-1$
+ bot.shell(IDELabel.Shell.NEW_JSP_FILE).activate(); //$NON-NLS-1$
+ bot.textWithLabel(ActionItem.NewObject.WebJSP.TEXT_FILE_NAME).setText(TEST_PAGE_FOR_FOLDER); //$NON-NLS-1$
+ bot.button(IDELabel.Button.FINISH).click(); //$NON-NLS-1$
delay();
SWTBotEclipseEditor editorForTestPage = bot.editorByTitle(TEST_PAGE_FOR_FOLDER+".jsp").toTextEditor(); //$NON-NLS-1$
editorForTestPage.setText(getEditorText());
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -5,10 +5,7 @@
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
-import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
-import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.Activator;
import org.jboss.tools.vpe.ui.bot.test.VPEAutoTestCase;
@@ -39,13 +36,6 @@
bot.editorByTitle(TEST_PAGE).close();
}
- void openPage(){
- SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- SWTBotTree tree = innerBot.tree();
- tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
@Override
protected String getPathToResources(String testPage) throws IOException {
String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/pagedesign/"+testPage; //$NON-NLS-1$//$NON-NLS-2$
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -2,6 +2,8 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
public class ChangeEditorTabForTheFirstOpenPageTest extends PreferencesTestCase{
@@ -22,10 +24,10 @@
innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
.getNode("pages").select(); //$NON-NLS-1$
- bot.menu("File").menu("New").menu("JSP File").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- bot.shell("New File JSP").activate(); //$NON-NLS-1$
- bot.textWithLabel("Name*").setText("testPage"); //$NON-NLS-1$ //$NON-NLS-2$
- bot.button("Finish").click(); //$NON-NLS-1$
+ open.newObject(ActionItem.NewObject.WebJSP.LABEL);
+ bot.shell(IDELabel.Shell.NEW_JSP_FILE).activate(); //$NON-NLS-1$
+ bot.textWithLabel(ActionItem.NewObject.WebJSP.TEXT_FILE_NAME).setText("testPage"); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button(IDELabel.Button.FINISH).click(); //$NON-NLS-1$
bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).setFocus();
//Check if the tab changed
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -4,12 +4,9 @@
import java.io.IOException;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
-import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
-import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.Activator;
import org.jboss.tools.vpe.ui.bot.test.VPEAutoTestCase;
@@ -51,13 +48,6 @@
bot.editorByTitle(TEST_PAGE).close();
}
- void openPage(){
- SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- SWTBotTree tree = innerBot.tree();
- tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
@Override
protected String getPathToResources(String testPage) throws IOException {
String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/preferences/"+testPage; //$NON-NLS-1$ //$NON-NLS-2$
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -9,13 +9,12 @@
@Override
protected void createJSFProject(String jsfProjectName) {
super.createJSFProject(jsfProjectName);
- openPalette();
}
public void testCancelTagLibDefenition(){
-
+ openPalette();
+ openPage();
//Test open import dialog
-
bot.viewByTitle("JBoss Tools Palette").setFocus(); //$NON-NLS-1$
bot.toolbarButtonWithTooltip("Import").click(); //$NON-NLS-1$
bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
@@ -28,7 +27,7 @@
//Test cancel TLD
SWTBotTree tree = bot.tree();
delay();
- tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("x-1_0-rt.tld [x_rt]").select(); //$NON-NLS-1$ //$NON-NLS-2$
+ tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("html_basic.tld [h]").select(); //$NON-NLS-1$ //$NON-NLS-2$
bot.button("Cancel").click(); //$NON-NLS-1$
//Test check fields
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -68,7 +68,7 @@
bot.shell("Edit TLD").activate(); //$NON-NLS-1$
SWTBotTree tree = bot.tree();
delay();
- tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("c.tld [c]").select(); //$NON-NLS-1$ //$NON-NLS-2$
+ tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("html_basic.tld [h]").select(); //$NON-NLS-1$ //$NON-NLS-2$
bot.button("OK").click(); //$NON-NLS-1$
//Test set group
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -13,6 +13,8 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.Timing;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
@@ -55,12 +57,14 @@
webContentTreeItem.select();
// create new JSP file
- bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.NEW).menu(IDELabel.Menu.JSP_FILE).click();
+ open.newObject(ActionItem.NewObject.WebJSP.LABEL);
bot.shell(IDELabel.Shell.NEW_JSP_FILE).activate();
- bot.textWithLabel(IDELabel.NewJSPFileDialog.NAME).setText(TEST_NEW_JSP_FILE_NAME);
- bot.comboBoxWithLabel(IDELabel.NewJSPFileDialog.TEMPLATE).setText(IDELabel.NewJSPFileDialog.TEMPLATE_JSF_BASE_PAGE);
+ bot.textWithLabel(ActionItem.NewObject.WebJSP.TEXT_FILE_NAME).setText(TEST_NEW_JSP_FILE_NAME);
+ bot.button(IDELabel.Button.NEXT).click();
+ bot.table().select(IDELabel.NewJSPFileDialog.JSP_TEMPLATE);
bot.button(IDELabel.Button.FINISH).click();
-
+ bot.sleep(Timing.time2S());
+ webContentTreeItem.expand();
SWTBotTreeItem jspTestPageTreeItem = webContentTreeItem.getNode(TEST_NEW_JSP_FILE_NAME);
String checkResult = CheckFileChangesSaving.checkIt(bot, bot.editorByTitle(TEST_NEW_JSP_FILE_NAME).toTextEditor(),
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -28,7 +28,7 @@
private static final String NEW_XHTML_FILE_NAME = "renamed-"
+ XHTMLPageCreationTest.TEST_NEW_XHTML_FILE_NAME;
- public void testRenameFacesConfigFile() throws Throwable {
+ public void testRenameXHTMLFile() throws Throwable {
checkRenameXHTMLFile();
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -13,6 +13,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
@@ -56,10 +57,12 @@
webContentTreeItem.select();
// create new JSP file
- bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.NEW).menu(IDELabel.Menu.XHTML_FILE).click();
+ open.newObject(ActionItem.NewObject.JBossToolsWebXHTMLFile.LABEL);
bot.shell(IDELabel.Shell.NEW_XHTML_FILE).activate();
- bot.textWithLabel(IDELabel.NewXHTMLFileDialog.NAME).setText(TEST_NEW_XHTML_FILE_NAME);
- bot.comboBoxWithLabel(IDELabel.NewXHTMLFileDialog.TEMPLATE).setText(IDELabel.NewXHTMLFileDialog.TEMPLATE_FACELET_FORM_XHTML);
+ bot.textWithLabel(ActionItem.NewObject.JBossToolsWebXHTMLFile.TEXT_FILE_NAME).setText(TEST_NEW_XHTML_FILE_NAME);
+ bot.button(IDELabel.Button.NEXT).click();
+ bot.checkBox(IDELabel.NewXHTMLFileDialog.USE_XHTML_TEMPLATE_CHECK_BOX).select();
+ bot.table().select(IDELabel.NewXHTMLFileDialog.TEMPLATE_FACELET_FORM_XHTML_NAME);
bot.button(IDELabel.Button.FINISH).click();
SWTBotTreeItem xhtmlTestPageTreeItem = webContentTreeItem.getNode(TEST_NEW_XHTML_FILE_NAME);
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ImportUnknownTagsWizardTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -12,6 +12,7 @@
import java.io.File;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.VPEAutoTestCase;
@@ -64,14 +65,14 @@
/*
* Check that templates have been added to the preference page
*/
- bot.menu("Window").menu("Preferences").click(); //$NON-NLS-1$ //$NON-NLS-2$
- bot.shell("Preferences").activate(); //$NON-NLS-1$
+ bot.menu(IDELabel.Menu.WINDOW).menu(IDELabel.Menu.PREFERENCES).click(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.shell(IDELabel.Shell.PREFERENCES).activate(); //$NON-NLS-1$
importTree = bot.tree();
- importTree.expandNode("JBoss Tools") //$NON-NLS-1$d
- .expandNode("Web") //$NON-NLS-1$
- .expandNode("Editors") //$NON-NLS-1$
- .select("Visual Page Editor"); //$NON-NLS-1$
- bot.tabItem("Templates").activate(); //$NON-NLS-1$
+ importTree.expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS) //$NON-NLS-1$d
+ .expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB) //$NON-NLS-1$
+ .expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS) //$NON-NLS-1$
+ .select(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS_VPE); //$NON-NLS-1$
+ bot.tabItem(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS_VPE_VISUAL_TEMPLATES).activate(); //$NON-NLS-1$
/*
* Check table values on the preferences page
*/
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/NewXHTMLPageWizardTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/NewXHTMLPageWizardTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/NewXHTMLPageWizardTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -11,6 +11,8 @@
package org.jboss.tools.vpe.ui.bot.test.wizard;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
import org.jboss.tools.vpe.ui.bot.test.VPEAutoTestCase;
@@ -36,15 +38,13 @@
/*
* Open wizard page
*/
- this.bot.menu("File").menu("New").menu("Other...").click(); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
- this.bot.shell("New").activate(); //$NON-NLS-1$
- SWTBotTree importTree = this.bot.tree();
- importTree.expandNode("JBoss Tools Web").select("XHTML File"); //$NON-NLS-1$//$NON-NLS-2$
- this.bot.button(WidgetVariables.NEXT_BUTTON).click();
- this.bot.shell("New File XHTML"); //$NON-NLS-1$
- this.bot.textWithLabel("Name*").setText("test"); //$NON-NLS-1$ //$NON-NLS-2$
- this.bot.button(WidgetVariables.NEXT_BUTTON).click();
- this.bot.button(WidgetVariables.FINISH_BUTTON).click();
+ open.newObject(ActionItem.NewObject.JBossToolsWebXHTMLFile.LABEL);
+ bot.shell(IDELabel.Shell.NEW_XHTML_FILE).activate();
+ bot.textWithLabel(ActionItem.NewObject.JBossToolsWebXHTMLFile.TEXT_FILE_NAME).setText("test");
+ bot.button(IDELabel.Button.NEXT).click();
+ bot.checkBox(IDELabel.NewXHTMLFileDialog.USE_XHTML_TEMPLATE_CHECK_BOX).select();
+ bot.table().select(IDELabel.NewXHTMLFileDialog.TEMPLATE_FACELET_FORM_XHTML_NAME);
+ bot.button(IDELabel.Button.FINISH).click();
assertEquals("Active Editor Title should be" ,"test.xhtml", this.bot.activeEditor().getTitle()); //$NON-NLS-1$ //$NON-NLS-2$
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java 2010-07-14 09:43:07 UTC (rev 23401)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/VPESourceCodeTemplatesPreferencePageTest.java 2010-07-14 10:13:42 UTC (rev 23402)
@@ -13,6 +13,7 @@
import org.eclipse.swtbot.swt.finder.SWTBotTestCase;
import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
/**
@@ -26,17 +27,17 @@
//just open a VPE Source Code templates preference test page
public void testSourceCodeTemplatesPreferencePage() {
- this.bot.menu("Window").menu("Preferences").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ this.bot.menu(IDELabel.Menu.WINDOW).menu(IDELabel.Menu.PREFERENCES).click(); //$NON-NLS-1$ //$NON-NLS-2$
SWTBotTree preferenceTree = this.bot.tree();
preferenceTree
- .expandNode("JBoss Tools") //$NON-NLS-1$
- .expandNode("Web") //$NON-NLS-1$
- .expandNode("Editors") //$NON-NLS-1$
- .expandNode("Visual Page Editor").select(); //$NON-NLS-1$
- bot.tabItem("Templates").activate(); //$NON-NLS-1$
+ .expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS) //$NON-NLS-1$
+ .expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB) //$NON-NLS-1$
+ .expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS) //$NON-NLS-1$
+ .expandNode(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS_VPE).select(); //$NON-NLS-1$
+ bot.tabItem(IDELabel.PreferencesDialog.JBOSS_TOOLS_WEB_EDITORS_VPE_VISUAL_TEMPLATES).activate(); //$NON-NLS-1$
try{
- this.bot.button("Add").click(); //$NON-NLS-1$
- this.bot.button("Cancel").click(); //$NON-NLS-1$
+ this.bot.button(IDELabel.Button.ADD_WITHOUT_DOTS).click(); //$NON-NLS-1$
+ this.bot.button(IDELabel.Button.CANCEL).click(); //$NON-NLS-1$
} catch(WidgetNotFoundException ex){
fail("Preference Page has not been created"+ex);//$NON-NLS-1$
}finally{
15 years, 9 months
JBoss Tools SVN: r23401 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide.
by jbosstools-commits@lists.jboss.org
Author: dvinnichek
Date: 2010-07-14 05:43:07 -0400 (Wed, 14 Jul 2010)
New Revision: 23401
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
Log:
fix npe in JBIDE788Test.testCAforJSPFiles()
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2010-07-14 08:09:59 UTC (rev 23400)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2010-07-14 09:43:07 UTC (rev 23401)
@@ -36,6 +36,7 @@
*/
public class JBIDE788Test extends VpeTest {
private static final String CA_NAME = "org.eclipse.wst.html.HTML_DEFAULT"; //$NON-NLS-1$
+ private static final String JSP_CA_NAME = "org.eclipse.jst.jsp.JSP_DIRECTIVE"; //$NON-NLS-1$
private static final String REQUIRED_PROPOSAL = "prompt_message"; //$NON-NLS-1$
public JBIDE788Test(String name) {
@@ -80,7 +81,7 @@
break;
}
}
- assertTrue("Common " + " should be in proposals", proposalExists);
+ assertTrue("Common " + " should be in proposals", proposalExists); //$NON-NLS-1$ //$NON-NLS-2$
// check exception
if (getException() != null) {
@@ -109,17 +110,17 @@
break;
}
}
- assertTrue(REQUIRED_PROPOSAL + " should be in proposals", proposalExists);
+ assertTrue(REQUIRED_PROPOSAL + " should be in proposals", proposalExists); //$NON-NLS-1$
proposalExists=false;
results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAPathProposals.xhtml","",11,41,false); //$NON-NLS-1$//$NON-NLS-2$
assertNotNull(results);
for(ICompletionProposal completionProposal : results) {
String displayString = ((ICompletionProposal) completionProposal).getDisplayString();
- if(displayString.contains("templates")) { //$NON-NLS-1$ //$NON-NLS-2$
+ if(displayString.contains("templates")) { //$NON-NLS-1$
proposalExists=true;
}
}
- assertEquals("path proposala should be in proposals",true, proposalExists);
+ assertEquals("path proposala should be in proposals",true, proposalExists); //$NON-NLS-1$
// check exception
if (getException() != null) {
@@ -205,7 +206,7 @@
// Tests CA
// cursor will set after "outputText" tag
- ICompletionProposal[] results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforJSP.jsp", "h:outp",26,14,false); //$NON-NLS-1$ //$NON-NLS-2$
+ ICompletionProposal[] results = checkOfCAByStartString(JSP_CA_NAME, "JBIDE/788/testCAforJSP.jsp", "h:outp",26,14,false); //$NON-NLS-1$ //$NON-NLS-2$
for (ICompletionProposal completionProposal : results) {
@@ -284,7 +285,7 @@
// get test page path
IFile file = (IFile) TestUtil.getComponentPath(testPagePath,
JsfAllTests.IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file. componentPage = " + testPagePath
+ assertNotNull("Could not open specified file. componentPage = " + testPagePath //$NON-NLS-1$
+ ";projectName = " + JsfAllTests.IMPORT_PROJECT_NAME, file);//$NON-NLS-1$
IEditorInput input = new FileEditorInput(file);
@@ -343,9 +344,9 @@
// The proposal is valid if:
// - the display string starts with the mask specified
// - the tag name part (without a prefix and ":"-character) starts with the mask specified
- String tagNamePart = displayString.indexOf(":") == -1 ?
+ String tagNamePart = displayString.indexOf(":") == -1 ? //$NON-NLS-1$
displayString :
- displayString.substring(displayString.indexOf(":") + 1);
+ displayString.substring(displayString.indexOf(":") + 1); //$NON-NLS-1$
assertNotNull(displayString);
assertEquals(true, displayString.startsWith(partOfString) || tagNamePart.startsWith(partOfString));
}
15 years, 9 months
JBoss Tools SVN: r23400 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal: jpa2 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2010-07-14 04:09:59 -0400 (Wed, 14 Jul 2010)
New Revision: 23400
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/AbstractHibernateJavaOneToOneMapping.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/HibernateJavaManyToManyMapping.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/jpa2/HibernateJpaFactory2_0.java
Log:
https://jira.jboss.org/browse/JBIDE-6473
Fixed class cast exception
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/AbstractHibernateJavaOneToOneMapping.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/AbstractHibernateJavaOneToOneMapping.java 2010-07-14 07:33:09 UTC (rev 23399)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/AbstractHibernateJavaOneToOneMapping.java 2010-07-14 08:09:59 UTC (rev 23400)
@@ -11,7 +11,7 @@
import org.eclipse.jpt.db.Table;
import org.eclipse.wst.validation.internal.provisional.core.IMessage;
import org.eclipse.wst.validation.internal.provisional.core.IReporter;
-import org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaFactory;
+import org.jboss.tools.hibernate.jpt.core.internal.HibernateAbstractJpaFactory;
import org.jboss.tools.hibernate.jpt.core.internal.context.ForeignKey;
import org.jboss.tools.hibernate.jpt.core.internal.context.ForeignKeyHolder;
import org.jboss.tools.hibernate.jpt.core.internal.context.HibernatePersistenceUnit.LocalMessage;
@@ -34,8 +34,8 @@
}
@Override
- protected HibernateJpaFactory getJpaFactory() {
- return (HibernateJpaFactory) super.getJpaFactory();
+ protected HibernateAbstractJpaFactory getJpaFactory() {
+ return (HibernateAbstractJpaFactory) super.getJpaFactory();
}
@Override
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/HibernateJavaManyToManyMapping.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/HibernateJavaManyToManyMapping.java 2010-07-14 07:33:09 UTC (rev 23399)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/java/HibernateJavaManyToManyMapping.java 2010-07-14 08:09:59 UTC (rev 23400)
@@ -23,7 +23,7 @@
import org.eclipse.jpt.db.Table;
import org.eclipse.wst.validation.internal.provisional.core.IMessage;
import org.eclipse.wst.validation.internal.provisional.core.IReporter;
-import org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaFactory;
+import org.jboss.tools.hibernate.jpt.core.internal.HibernateAbstractJpaFactory;
import org.jboss.tools.hibernate.jpt.core.internal.context.ForeignKey;
import org.jboss.tools.hibernate.jpt.core.internal.context.ForeignKeyHolder;
import org.jboss.tools.hibernate.jpt.core.internal.context.HibernatePersistenceUnit.LocalMessage;
@@ -56,8 +56,8 @@
}
@Override
- protected HibernateJpaFactory getJpaFactory() {
- return (HibernateJpaFactory) super.getJpaFactory();
+ protected HibernateAbstractJpaFactory getJpaFactory() {
+ return (HibernateAbstractJpaFactory) super.getJpaFactory();
}
@Override
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/jpa2/HibernateJpaFactory2_0.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/jpa2/HibernateJpaFactory2_0.java 2010-07-14 07:33:09 UTC (rev 23399)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/jpa2/HibernateJpaFactory2_0.java 2010-07-14 08:09:59 UTC (rev 23400)
@@ -16,6 +16,8 @@
import org.eclipse.jpt.core.context.java.JavaAssociationOverride;
import org.eclipse.jpt.core.context.java.JavaAssociationOverrideContainer;
import org.eclipse.jpt.core.context.java.JavaAssociationOverrideRelationshipReference;
+import org.eclipse.jpt.core.context.java.JavaBaseColumn.Owner;
+import org.eclipse.jpt.core.context.java.JavaColumn;
import org.eclipse.jpt.core.context.java.JavaEmbeddable;
import org.eclipse.jpt.core.context.java.JavaJpaContextNode;
import org.eclipse.jpt.core.context.java.JavaManyToOneMapping;
@@ -27,6 +29,7 @@
import org.eclipse.jpt.core.context.java.JavaPersistentType;
import org.eclipse.jpt.core.context.java.JavaSequenceGenerator;
import org.eclipse.jpt.core.internal.jpa1.context.java.GenericJavaAssociationOverrideContainer;
+import org.eclipse.jpt.core.internal.jpa1.context.java.GenericJavaColumn;
import org.eclipse.jpt.core.internal.jpa2.GenericMetamodelSynchronizer;
import org.eclipse.jpt.core.internal.jpa2.context.java.GenericJavaAssociationOverrideRelationshipReference2_0;
import org.eclipse.jpt.core.internal.jpa2.context.java.GenericJavaCacheable2_0;
@@ -173,5 +176,10 @@
public JavaOrderColumn2_0 buildJavaOrderColumn(JavaOrderable2_0 parent, JavaNamedColumn.Owner owner) {
return new GenericJavaOrderColumn2_0(parent, owner);
}
+
+ @Override
+ public JavaColumn buildJavaMapKeyColumn(JavaJpaContextNode parent, Owner owner) {
+ return new GenericJavaColumn(parent, owner);
+ }
}
15 years, 9 months
JBoss Tools SVN: r23399 - workspace/Denny/esb-example-soa-p5.0.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2010-07-14 03:33:09 -0400 (Wed, 14 Jul 2010)
New Revision: 23399
Modified:
workspace/Denny/esb-example-soa-p5.0/helloworld_action_all.zip
workspace/Denny/esb-example-soa-p5.0/helloworld_all.zip
workspace/Denny/esb-example-soa-p5.0/helloworld_file_action_all.zip
workspace/Denny/esb-example-soa-p5.0/transform_CSV2XML_all.zip
workspace/Denny/esb-example-soa-p5.0/transform_XML2POJO_all.zip
workspace/Denny/esb-example-soa-p5.0/transform_XML2XML_date_manipulation_all.zip
workspace/Denny/esb-example-soa-p5.0/transform_XML2XML_simple_all.zip
workspace/Denny/esb-example-soa-p5.0/webservice_consumer1_all.zip
workspace/Denny/esb-example-soa-p5.0/webservice_producer_all.zip
Log:
Modified: workspace/Denny/esb-example-soa-p5.0/helloworld_action_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/helloworld_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/helloworld_file_action_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/transform_CSV2XML_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/transform_XML2POJO_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/transform_XML2XML_date_manipulation_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/transform_XML2XML_simple_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/webservice_consumer1_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example-soa-p5.0/webservice_producer_all.zip
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r23398 - trunk/download.jboss.org/jbosstools/examples/nightly.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2010-07-14 02:30:56 -0400 (Wed, 14 Jul 2010)
New Revision: 23398
Added:
trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.0...
trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-jbd...
Modified:
trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.1...
Log:
JBIDE-5645: move the changed project examples xml file to download site
Added: trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.0...
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.0... (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.0... 2010-07-14 06:30:56 UTC (rev 23398)
@@ -0,0 +1,581 @@
+<projects>
+
+ <project>
+ <category>Seam</category>
+ <name>dvdstoreall</name>
+ <included-projects>
+ dvdstore,dvdstore-ear,dvdstore-ejb
+ </included-projects>
+ <shortDescription>Seam DVD Store Example - EAR</shortDescription>
+
+ <description>This example demonstrates the use of Seam with jBPM pageflow and business process management. It includes the dvdstore,dvdstore-ear and dvdstore-ejb projects.
+It requires JBoss EAP 4.3/JBoss AS 4.2.x and Seam 2.0.
+ </description>
+ <size>6926336</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">dvdstore,dvdstore-ejb,dvdstore-ear</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0, 2.0.1, 2.0.2</property>
+ <property name="eclipse-projects">dvdstore</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+
+ <name>dvdstoreall2</name>
+ <included-projects>
+ dvdstore,dvdstore-ear,dvdstore-ejb,dvdstore-test
+ </included-projects>
+ <shortDescription>Seam DVD Store Example - EAR (including a test project)</shortDescription>
+ <description>This example demonstrates the use of Seam with jBPM pageflow and business process management. It includes the dvdstore,dvdstore-ear,dvdstore-test and dvdstore-ejb projects.
+It requires JBoss EAP 4.3/JBoss AS 4.2.x, Seam 2.0 and TestNG plugin.
+ </description>
+ <size>30380032</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">dvdstore,dvdstore-ejb,dvdstore-ear</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0, 2.0.1, 2.0.2</property>
+ <property name="eclipse-projects">dvdstore</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>booking</name>
+ <included-projects>
+
+ booking,booking-ear,booking-ejb
+ </included-projects>
+ <shortDescription>Seam Booking Example - EAR</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+This example requires JBoss EAP 4.3/JBoss AS 4.2.x and Seam 2.0.
+It includes the booking, booking-ear and booking-ejb projects.
+</description>
+ <size>8127000</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">booking,booking-ejb,booking-ear</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0</property>
+ <property name="eclipse-projects">booking</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>booking2</name>
+ <included-projects>
+ booking,booking-ear,booking-ejb,booking-test
+ </included-projects>
+ <shortDescription>Seam Booking Example - EAR (including a test project)</shortDescription>
+
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+This example requires JBoss EAP 4.3/JBoss AS 4.2.x, Seam 2.0 and TestNG plugin.
+It includes the booking, booking-ear,booking-test and booking-ejb projects.
+</description>
+ <size>36036608</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">booking,booking-ejb,booking-ear</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0</property>
+ <property name="eclipse-projects">booking</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+
+ <name>booking2</name>
+ <included-projects>
+ booking,booking-ear,booking-ejb,booking-parent,booking-test
+ </included-projects>
+ <shortDescription>Seam Booking Example - EAR mavenized</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+It includes the booking, booking-ear, booking-ejb,booking-test and booking-parent projects.
+Requires JBoss EAP 4.3/JBoss AS 4.2.x, Seam 2.0, m2eclipse and testng plugins.
+</description>
+ <size>203639</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">booking,booking-ejb,booking-ear</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0, 2.0.1, 2.0.2</property>
+ <property name="eclipse-projects">booking</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+
+ <fix type="plugin">
+ <property name="id">org.maven.ide.eclipse.wtp</property>
+ <property name="versions">0.9.9, 0.10.0</property>
+ <property name="description">This project example requires m2eclipse. You can install it using the following update sites: http://m2eclipse.sonatype.org/sites/m2e and http://m2eclipse.sonatype.org/sites/m2e-extras</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>booking3</name>
+ <included-projects>
+ booking,booking-ear,booking-ejb,booking-parent,booking-test
+ </included-projects>
+ <shortDescription>Seam Booking Example - EAR mavenized - Seam 2.1.1.GA</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+It includes the booking, booking-ear, booking-ejb, booking-test and booking-parent projects.
+Requires JBoss EAP 4.3/JBoss AS 4.2.x, Seam 2.1, m2eclipse and testng plugins.
+</description>
+ <size>196608</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">booking,booking-ejb,booking-ear</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.1.0, 2.1.1, 2.1.2</property>
+ <property name="eclipse-projects">booking</property>
+ <property name="description">This project example requires Seam version 2.1</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.maven.ide.eclipse.wtp</property>
+ <property name="versions">0.9.9, 0.10.0</property>
+ <property name="description">This project example requires m2eclipse. You can install it using the following update sites: http://m2eclipse.sonatype.org/sites/m2e and http://m2eclipse.sonatype.org/sites/m2e-extras</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>jboss-seam-jpa</name>
+ <shortDescription>Seam Booking Example - WAR Standalone</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+This example requires JBoss EAP 4.3/JBoss AS 4.2.x and Seam 2.0.
+</description>
+ <size>5595136</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">jboss-seam-jpa</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0, 2.0.1, 2.0.2</property>
+ <property name="eclipse-projects">jboss-seam-jpa</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>jboss-seam-jpa2</name>
+ <included-projects>
+ jboss-seam-jpa,jboss-seam-jpa-test
+ </included-projects>
+
+ <shortDescription>Seam Booking Example - WAR Standalone (including a test project)</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+Requires JBoss EAP 4.3/JBoss AS 4.2.x, Seam 2.0 and testng plugins.
+It includes the jboss-seam-jpa and jboss-seam-jpa-test projects.
+</description>
+ <size>33357824</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">jboss-seam-jpa</property>
+ <property name="description">This project example requires the JBoss EAP 4.3 or JBoss AS 4.2.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0, 2.0.1, 2.0.2</property>
+ <property name="eclipse-projects">jboss-seam-jpa</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+
+ <category>Portlet</category>
+ <name>testjavaportlet</name>
+ <shortDescription>JBoss Java Portlet Example</shortDescription>
+ <description>This example demonstrates the use of JBoss Java Portlet. It runs on JBoss EPP 4.3 or JBoss Portal 2.7.x.</description>
+ <size>10000</size>
+ <url>
+
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/portlet-exampl...
+ </url>
+ <welcome type="cheatsheets" url="/testjavaportlet/javaportletcs.xml"/>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">testjavaportlet</property>
+ <property name="description">This project example requires the JBoss EPP 4.3 or JBoss Portal 2.7.x</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Portlet</category>
+ <name>testjsfportlet</name>
+ <shortDescription>JBoss JSF Portlet Example</shortDescription>
+
+ <description>This example demonstrates the use of JBoss JSF Portlet. It runs on JBoss EPP 4.3 or JBoss Portal 2.7.x.</description>
+ <size>4000000</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/portlet-exampl...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">testjsfportlet</property>
+ <property name="description">This project example requires the JBoss EPP 4.3 or JBoss Portal 2.7.x</property>
+ </fix>
+
+ </fixes>
+ </project>
+
+ <project>
+ <category>Portlet</category>
+
+ <name>testseamportlet</name>
+ <shortDescription>JBoss Seam Portlet Example</shortDescription>
+ <description>This example demonstrates the use of JBoss Seam Portlet. It runs on JBoss EPP 4.3/JBoss Portal 2.7.x and Seam 2.0.</description>
+ <size>10000000</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/portlet-exampl...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">testseamportlet</property>
+ <property name="description">This project example requires the JBoss EPP 4.3 or JBoss Portal 2.7.x</property>
+ </fix>
+ <fix type="seam">
+ <property name="allowed-versions">2.0.0, 2.0.1, 2.0.2</property>
+ <property name="eclipse-projects">testseamportlet</property>
+ <property name="description">This project example requires Seam version 2.0</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.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>
+ <size>1087454</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">helloworld</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 Runtime" in the workspace.
+ This example 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>
+ <size>24456</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">helloworld_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</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.4.3.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>
+ <size>15140</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">helloworld_file_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 Runtime" in the workspace.
+ 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.
+ </description>
+ <size>1094434</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/web...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">webservice_consumer1</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 Runtime" in the workspace.
+ This sample demonstrates how to deploy a JSR181 Webservice endpoint on
+ JBossESB using the SOAPProcessor action.</description>
+ <size>52601</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/web...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">webservice_producer</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 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>
+ <size>18354</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_CSV2XML</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 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>
+ <size>33104</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_XML2POJO</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 Runtime" in the workspace.
+ This is another simple sample of how to manually define and apply a Message
+ Transformation within JBoss ESB.
+
+ This sample is an extension of the "transformation_XML2XML_simple"
+ Quickstart, demonstrating how JBoss ESB Transformations can simplify your
+ XSLT transformations by combining the power of XSLT with Java. In this
+ Quickstart, we use Java to perform the ugly string manipulation on the
+ SampleOrder date field (see OrderDate.java) and use XSLT for what it's good at
+ i.e. Templating. Again, the transformed SampleOrder.xml message is just
+ printed to the Java console (message before and after).</description>
+
+ <size>20313</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 4.3</category>
+ <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.4.3.0 Runtime" in the workspace.
+ 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>
+ <size>18168</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_XML2XML_simple</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+</projects>
+
Modified: trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.1...
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.1... 2010-07-14 06:24:55 UTC (rev 23397)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-3.1... 2010-07-14 06:30:56 UTC (rev 23398)
@@ -422,7 +422,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -432,7 +432,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
a single Action class and make multiple method calls or use multiple Action
classes.</description>
@@ -445,7 +445,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -455,7 +455,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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>
@@ -468,7 +468,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_file_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -478,7 +478,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
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
@@ -492,7 +492,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">webservice_consumer1</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -503,7 +503,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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>
<size>55269</size>
@@ -515,7 +515,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">webservice_producer</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -526,7 +526,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
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
@@ -540,7 +540,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_CSV2XML</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -550,7 +550,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
use of Smooks performing a simple transformation by converting a XML file into
Java POJOs.</description>
@@ -563,7 +563,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2POJO</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -573,7 +573,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
@@ -593,7 +593,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -603,7 +603,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
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>
@@ -616,17 +616,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2XML_simple</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>helloworld</name>
<included-projects> helloworld,helloworld_testclient </included-projects>
<shortDescription>JBoss ESB HelloWorld Example - ESB</shortDescription>
- <description>This example is to prove that the ESB is is properly configured and happy.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.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>
<size>1087454</size>
@@ -638,17 +639,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">helloworld</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>helloworld_action</name>
<included-projects>helloworld_action,helloworld_action_client </included-projects>
<shortDescription>JBoss ESB HelloWorld Action Example - ESB</shortDescription>
- <description>This example 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
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This example 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>
<size>24456</size>
<url>
@@ -659,19 +661,20 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">helloworld_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</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>This is a basic example of using the File gateway feature of the JBoss ESB.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.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>
<size>15140</size>
@@ -683,17 +686,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">helloworld_file_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>webservice_consumer1</name>
<included-projects>webservice_consumer1,webservice_consumer1_client </included-projects>
<shortDescription>JBoss ESB Web Service consumer1 Example</shortDescription>
- <description>This example demonstrates how to consume a 181 Web Service in an ESB action.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ 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.
</description>
@@ -707,17 +711,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">webservice_consumer1</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>webservice_producer</name>
<included-projects>webservice_producer,webservice_producer_client </included-projects>
<shortDescription>JBoss ESB Web Service producer Example</shortDescription>
- <description>This sample demonstrates how to deploy a JSR181 Webservice endpoint on
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This sample demonstrates how to deploy a JSR181 Webservice endpoint on
JBossESB using the SOAPProcessor action.</description>
<size>52601</size>
<url>
@@ -728,18 +733,19 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">webservice_producer</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>transform_CSV2XML</name>
<included-projects>transform_CSV2XML,transform_CSV2XML_client </included-projects>
<shortDescription>JBoss ESB Smooks CSV->XML Example</shortDescription>
- <description>This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 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>
<size>18354</size>
<url>
@@ -750,18 +756,19 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_CSV2XML</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>transform_XML2POJO</name>
<included-projects>transform_XML2POJO,transform_XML2POJO_client </included-projects>
<shortDescription>JBoss ESB Smooks XML->POJO Example</shortDescription>
- <description>The purpose of the simple_transformation sample is to illustrate the
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 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>
<size>33104</size>
@@ -773,17 +780,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_XML2POJO</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<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>This is another simple sample of how to manually define and apply a Message
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This is another simple sample of how to manually define and apply a Message
Transformation within JBoss ESB.
This sample is an extension of the "transformation_XML2XML_simple"
@@ -803,17 +811,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<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>This is a very basic sample of how to manually define and apply a Message
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ 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>
<size>18168</size>
@@ -826,7 +835,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_XML2XML_simple</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
Added: trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-jbd...
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-jbd... (rev 0)
+++ trunk/download.jboss.org/jbosstools/examples/nightly/project-examples-jbd... 2010-07-14 06:30:56 UTC (rev 23398)
@@ -0,0 +1,348 @@
+<projects>
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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>
+ <size>1101025</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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
+ a single Action class and make multiple method calls or use multiple Action
+ classes.</description>
+ <size>26261</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </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>
+ <size>16505</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_file_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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.
+ 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>
+ <size>1120499</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">webservice_consumer1</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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>
+ <size>55269</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">webservice_producer</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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.
+ 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>
+ <size>19434</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_CSV2XML</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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
+use of Smooks performing a simple transformation by converting a XML file into
+Java POJOs.</description>
+ <size>40936</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2POJO</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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.
+
+ This sample is an extension of the "transformation_XML2XML_simple"
+ Quickstart, demonstrating how JBoss ESB Transformations can simplify your
+ XSLT transformations by combining the power of XSLT with Java. In this
+ Quickstart, we use Java to perform the ugly string manipulation on the
+ SampleOrder date field (see OrderDate.java) and use XSLT for what it's good at
+ i.e. Templating. Again, the transformed SampleOrder.xml message is just
+ printed to the Java console (message before and after).</description>
+ <size>22071</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>ESB for SOA-P 5.0</category>
+ <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
+ 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>
+ <size>19224</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2XML_simple</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>booking22</name>
+ <included-projects>
+ booking22,booking22-ear,booking22-ejb,booking22-test
+ </included-projects>
+ <shortDescription>Seam 2.2 Booking Example - EAR (including a tutorial)</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+This example has been tested on JBoss EAP 5.0.
+It includes the booking22, booking22-ear,booking22-test and booking22-ejb projects.
+</description>
+ <size>38203392</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <welcome type="cheatsheets" url="/booking22/cheatsheets/booking.xml"/>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">booking22,booking22-ejb,booking22-ear</property>
+ <property name="description">This project example requires the JBoss EAP 5.0</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.2.0</property>
+ <property name="eclipse-projects">booking22</property>
+ <property name="description">This project example requires Seam version 2.2.0</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+ <name>photoalbum</name>
+ <included-projects>
+ photoalbum,photoalbum-ear,photoalbum-ejb
+ </included-projects>
+ <shortDescription>PhotoAlbum - EAR (RichFaces 3.3.1.GA, Seam 2.2.0.GA)</shortDescription>
+ <description>This example demonstrates the use of RichFaces components. It includes the photoalbum,photoalbum-ear and photoalbum-ejb projects.
+The example requires Seam 2.2 and JBoss EAP 4.3/JBoss EAP 5.0/JBoss AS 4.2.x/JBoss AS 5.x.
+ </description>
+ <size>25833472</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50, org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.51, org.jboss.ide.eclipse.as.runtime.50, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">photoalbum,photoalbum-ear,photoalbum-ejb</property>
+ <property name="description">This project example requires JBoss EAP 4.3/JBoss EAP 5.0/JBoss AS 4.2.x/JBoss AS 5.x</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.2.0</property>
+ <property name="eclipse-projects">photoalbum</property>
+ <property name="description">This project example requires Seam version 2.2.0</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>Seam</category>
+
+ <name>dvdstore22</name>
+ <included-projects>
+ dvdstore22,dvdstore22-ear,dvdstore22-ejb,dvdstore22-test
+ </included-projects>
+ <shortDescription>Seam 2.2 DVD Store Example - EAR (including a test project)</shortDescription>
+ <description>This example demonstrates the use of Seam with jBPM pageflow and business process management. It includes the dvdstore22,dvdstore22-ear,dvdstore22-test and dvdstore22-ejb projects.
+ </description>
+ <size>35225600</size>
+
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">dvdstore22,dvdstore22-ejb,dvdstore22-ear</property>
+ <property name="description">This project example requires the JBoss EAP 5.0</property>
+ </fix>
+
+ <fix type="seam">
+ <property name="allowed-versions">2.2.0</property>
+ <property name="eclipse-projects">dvdstore22</property>
+ <property name="description">This project example requires Seam version 2.2.0</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.testng.eclipse</property>
+ <property name="versions">5.8.0, 5.9.0</property>
+ <property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
+ </fix>
+ </fixes>
+ </project>
+
+ <project>
+ <category>RESTEasy</category>
+ <name>simple</name>
+ <included-projects>
+ simple
+ </included-projects>
+
+ <shortDescription>RESTEasy Simple Example</shortDescription>
+ <description>This project is a simple example showing usage of @Path, @GET, PUT, POST, and @PathParam. It uses pure streaming output and includes the 'simple' project.
+Requires m2eclipse and JBoss EAP 4.3/JBoss EAP 5.0/JBoss AS 4.2.x/JBoss AS 5.x.
+ </description>
+ <size>16939</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/resteasy-examp...
+ </url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50, org.jboss.ide.eclipse.as.runtime.eap.43, org.jboss.ide.eclipse.as.runtime.51, org.jboss.ide.eclipse.as.runtime.50, org.jboss.ide.eclipse.as.runtime.42</property>
+ <property name="eclipse-projects">photoalbum,photoalbum-ear,photoalbum-ejb</property>
+ <property name="description">This project example requires JBoss EAP 4.3/JBoss EAP 5.0/JBoss AS 4.2.x/JBoss AS 5.x</property>
+ </fix>
+ <fix type="plugin">
+ <property name="id">org.maven.ide.eclipse.wtp</property>
+ <property name="versions"> 0.10.0</property>
+ <property name="description">This project example requires m2eclipse. You can install it using the following update sites: http://m2eclipse.sonatype.org/sites/m2e and http://m2eclipse.sonatype.org/sites/m2e-extras</property>
+ </fix>
+ </fixes>
+ </project>
+</projects>
+
15 years, 9 months
JBoss Tools SVN: r23397 - workspace/Denny/esb-example.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2010-07-14 02:24:55 -0400 (Wed, 14 Jul 2010)
New Revision: 23397
Modified:
workspace/Denny/esb-example/helloworld_action_all.zip
workspace/Denny/esb-example/helloworld_all.zip
workspace/Denny/esb-example/helloworld_file_action_all.zip
workspace/Denny/esb-example/transform_CSV2XML_all.zip
workspace/Denny/esb-example/transform_XML2POJO_all.zip
workspace/Denny/esb-example/transform_XML2XML_date_manipulation_all.zip
workspace/Denny/esb-example/transform_XML2XML_simple_all.zip
workspace/Denny/esb-example/webservice_consumer1_all.zip
workspace/Denny/esb-example/webservice_producer_all.zip
Log:
Modified: workspace/Denny/esb-example/helloworld_action_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/helloworld_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/helloworld_file_action_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/transform_CSV2XML_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/transform_XML2POJO_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/transform_XML2XML_date_manipulation_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/transform_XML2XML_simple_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/webservice_consumer1_all.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/webservice_producer_all.zip
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r23396 - workspace/examples.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2010-07-14 00:58:29 -0400 (Wed, 14 Jul 2010)
New Revision: 23396
Modified:
workspace/examples/project-examples-3.0.xml
workspace/examples/project-examples-3.1.xml
workspace/examples/project-examples-jbds30.xml
Log:
JBIDE-5645: update ESB project examples xml file
Modified: workspace/examples/project-examples-3.0.xml
===================================================================
--- workspace/examples/project-examples-3.0.xml 2010-07-14 00:52:09 UTC (rev 23395)
+++ workspace/examples/project-examples-3.0.xml 2010-07-14 04:58:29 UTC (rev 23396)
@@ -360,192 +360,176 @@
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>helloworld</name>
+ <included-projects> helloworld,helloworld_testclient </included-projects>
<shortDescription>JBoss ESB HelloWorld Example - ESB</shortDescription>
- <description>This example is to prove that the ESB is is properly configured and happy.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.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>
- <size>59000</size>
+ <size>1087454</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">helloworld</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
- <name>helloworld_testclient</name>
- <shortDescription>JBoss ESB HelloWorld Example - Client</shortDescription>
-
- <description>This example is to demonstrate how to invoke the deployed HelloWorld ESB. It requires the helloworld project.</description>
- <size>1000000</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
- </url>
- </project>
-
- <project>
- <category>ESB</category>
-
+ <category>ESB for SOA-P 4.3</category>
<name>helloworld_action</name>
+ <included-projects>helloworld_action,helloworld_action_client </included-projects>
<shortDescription>JBoss ESB HelloWorld Action Example - ESB</shortDescription>
- <description>This example 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
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This example 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>
- <size>7100</size>
+ <size>24456</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">helloworld_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
- <name>helloworld_action_client</name>
- <shortDescription>JBoss ESB HelloWorld Action Example - Client</shortDescription>
- <description>This example is to test the deployed helloworld_action ESB. It requires the helloworld_action project.</description>
- <size>18694</size>
-
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
- </url>
- </project>
-
- <project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</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>This is a basic example of using the File gateway feature of the JBoss ESB.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.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>
- <size>7920</size>
+ <size>15140</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">helloworld_file_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
-
- <name>helloworld_file_action_client</name>
- <shortDescription>JBoss ESB HelloWorld File Action Example - Client</shortDescription>
- <description>This example is to test the deployed helloworld_file_action ESB. It requires the helloworld_file_action project.</description>
- <size>18694</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/hel...
- </url>
-
- </project>
- <project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>webservice_consumer1</name>
+ <included-projects>webservice_consumer1,webservice_consumer1_client </included-projects>
<shortDescription>JBoss ESB Web Service consumer1 Example</shortDescription>
- <description>This example demonstrates how to consume a 181 Web Service in an ESB action.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ 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.
</description>
- <size>22500</size>
+ <size>1094434</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/webs...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/web...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">webservice_consumer1</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
- <name>webservice_consumer1_client</name>
- <shortDescription>JBoss ESB Web Service consumer1 Example - Client</shortDescription>
-
- <description>This example is to test the deployed a consumer web service.It requires the webservice_consumer1 project.</description>
- <size>1000000</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/webs...
- </url>
- </project>
-
- <project>
- <category>ESB</category>
-
+ <category>ESB for SOA-P 4.3</category>
<name>webservice_producer</name>
+ <included-projects>webservice_producer,webservice_producer_client </included-projects>
<shortDescription>JBoss ESB Web Service producer Example</shortDescription>
- <description>This sample demonstrates how to deploy a JSR181 Webservice endpoint on
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This sample demonstrates how to deploy a JSR181 Webservice endpoint on
JBossESB using the SOAPProcessor action.</description>
- <size>53000</size>
+ <size>52601</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/webs...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/web...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">webservice_producer</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
- <name>webservice_producer_client</name>
- <shortDescription>JBoss ESB Web Service producer Example - Client</shortDescription>
- <description>This sample is to test the deployed a web service endpoint.It requires the webservice_producer project.</description>
-
- <size>14200</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/webs...
- </url>
- </project>
-
- <project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>transform_CSV2XML</name>
-
+ <included-projects>transform_CSV2XML,transform_CSV2XML_client </included-projects>
<shortDescription>JBoss ESB Smooks CSV->XML Example</shortDescription>
- <description>This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 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>
- <size>7200</size>
+ <size>18354</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_CSV2XML</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
- <name>transform_CSV2XML_client</name>
- <shortDescription>JBoss ESB Smooks CSV->XML Example - Client</shortDescription>
- <description>This sample is to test the JBoss ESB smooks CSV->XML transformation.It requires the transform_CSV2XML project.</description>
- <size>16600</size>
-
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
- </url>
- </project>
-
- <project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>transform_XML2POJO</name>
+ <included-projects>transform_XML2POJO,transform_XML2POJO_client </included-projects>
<shortDescription>JBoss ESB Smooks XML->POJO Example</shortDescription>
- <description>The purpose of the simple_transformation sample is to illustrate the
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 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>
- <size>26600</size>
+ <size>33104</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_XML2POJO</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
-
- <name>transform_XML2POJO_client</name>
- <shortDescription>JBoss ESB Smooks XML->POJO Example - Client</shortDescription>
- <description>This sample is to test the JBoss ESB smooks XML->POJO transformation.It requires the transform_XML2POJO project.</description>
- <size>22400</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
- </url>
-
- </project>
-
- <project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<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>This is another simple sample of how to manually define and apply a Message
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This is another simple sample of how to manually define and apply a Message
Transformation within JBoss ESB.
This sample is an extension of the "transformation_XML2XML_simple"
@@ -556,48 +540,42 @@
i.e. Templating. Again, the transformed SampleOrder.xml message is just
printed to the Java console (message before and after).</description>
- <size>13600</size>
+ <size>20313</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
- <category>ESB</category>
- <name>transform_XML2XML_date_manipulation_client</name>
-
- <shortDescription>JBoss ESB Smooks XML->XML date-manipulation Example - Client</shortDescription>
- <description>This sample is to test the JBoss ESB XML->XML date-manipulation transformation.It requires the transform_XML2XML_date_manipulation project.</description>
- <size>18600</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
- </url>
- </project>
-
- <project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<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>This is a very basic sample of how to manually define and apply a Message
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ 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>
- <size>6700</size>
+ <size>18168</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example/tra...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
+ <property name="eclipse-projects">transform_XML2XML_simple</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
-
- <project>
- <category>ESB</category>
- <name>transform_XML2XML_simple_client</name>
- <shortDescription>JBoss ESB Smooks XML->XML Example - Client</shortDescription>
-
- <description>This sample is to test the JBoss ESB XML->XML transformation.It requires the transform_XML2XML_simple project.</description>
- <size>17800</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/grid/esb-example/tran...
- </url>
- </project>
</projects>
Modified: workspace/examples/project-examples-3.1.xml
===================================================================
--- workspace/examples/project-examples-3.1.xml 2010-07-14 00:52:09 UTC (rev 23395)
+++ workspace/examples/project-examples-3.1.xml 2010-07-14 04:58:29 UTC (rev 23396)
@@ -422,7 +422,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -432,7 +432,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
a single Action class and make multiple method calls or use multiple Action
classes.</description>
@@ -445,7 +445,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -455,7 +455,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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>
@@ -468,7 +468,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">helloworld_file_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -478,7 +478,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
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
@@ -492,7 +492,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">webservice_consumer1</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -503,7 +503,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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>
<size>55269</size>
@@ -515,7 +515,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">webservice_producer</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -526,7 +526,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
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
@@ -540,7 +540,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_CSV2XML</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -550,7 +550,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
use of Smooks performing a simple transformation by converting a XML file into
Java POJOs.</description>
@@ -563,7 +563,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2POJO</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -573,7 +573,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
@@ -593,7 +593,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
@@ -603,7 +603,7 @@
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
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>
@@ -616,17 +616,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property name="eclipse-projects">transform_XML2XML_simple</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>helloworld</name>
<included-projects> helloworld,helloworld_testclient </included-projects>
<shortDescription>JBoss ESB HelloWorld Example - ESB</shortDescription>
- <description>This example is to prove that the ESB is is properly configured and happy.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.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>
<size>1087454</size>
@@ -638,17 +639,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">helloworld</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>helloworld_action</name>
<included-projects>helloworld_action,helloworld_action_client </included-projects>
<shortDescription>JBoss ESB HelloWorld Action Example - ESB</shortDescription>
- <description>This example 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
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This example 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>
<size>24456</size>
<url>
@@ -659,19 +661,20 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">helloworld_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</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>This is a basic example of using the File gateway feature of the JBoss ESB.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.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>
<size>15140</size>
@@ -683,17 +686,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">helloworld_file_action</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>webservice_consumer1</name>
<included-projects>webservice_consumer1,webservice_consumer1_client </included-projects>
<shortDescription>JBoss ESB Web Service consumer1 Example</shortDescription>
- <description>This example demonstrates how to consume a 181 Web Service in an ESB action.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ 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.
</description>
@@ -707,17 +711,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">webservice_consumer1</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>webservice_producer</name>
<included-projects>webservice_producer,webservice_producer_client </included-projects>
<shortDescription>JBoss ESB Web Service producer Example</shortDescription>
- <description>This sample demonstrates how to deploy a JSR181 Webservice endpoint on
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This sample demonstrates how to deploy a JSR181 Webservice endpoint on
JBossESB using the SOAPProcessor action.</description>
<size>52601</size>
<url>
@@ -728,18 +733,19 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">webservice_producer</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>transform_CSV2XML</name>
<included-projects>transform_CSV2XML,transform_CSV2XML_client </included-projects>
<shortDescription>JBoss ESB Smooks CSV->XML Example</shortDescription>
- <description>This sample demonstrates how to transform a comma separated value (CSV) file to an xml.
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 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>
<size>18354</size>
<url>
@@ -750,18 +756,19 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_CSV2XML</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<name>transform_XML2POJO</name>
<included-projects>transform_XML2POJO,transform_XML2POJO_client </included-projects>
<shortDescription>JBoss ESB Smooks XML->POJO Example</shortDescription>
- <description>The purpose of the simple_transformation sample is to illustrate the
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 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>
<size>33104</size>
@@ -773,17 +780,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_XML2POJO</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<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>This is another simple sample of how to manually define and apply a Message
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ This is another simple sample of how to manually define and apply a Message
Transformation within JBoss ESB.
This sample is an extension of the "transformation_XML2XML_simple"
@@ -803,17 +811,18 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
<project>
- <category>ESB</category>
+ <category>ESB for SOA-P 4.3</category>
<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>This is a very basic sample of how to manually define and apply a Message
+ <description>NOTE: Before import this example, please make sure that there is a runtime named "jboss-soa-p.4.3.0 Runtime" in the workspace.
+ 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>
<size>18168</size>
@@ -826,7 +835,7 @@
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.43</property>
<property name="eclipse-projects">transform_XML2XML_simple</property>
<property name="required-components">esb</property>
- <property name="description">This project example requires the JBoss SOA 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
+ <property name="description">This project example requires the JBoss SOA-P 4.3.0 and the runtime name should be "jboss-soa-p.4.3.0 Runtime"</property>
</fix>
</fixes>
</project>
Modified: workspace/examples/project-examples-jbds30.xml
===================================================================
--- workspace/examples/project-examples-jbds30.xml 2010-07-14 00:52:09 UTC (rev 23395)
+++ workspace/examples/project-examples-jbds30.xml 2010-07-14 04:58:29 UTC (rev 23396)
@@ -1,190 +1,173 @@
<projects>
-<project>
+ <project>
<category>ESB for SOA-P 5.0</category>
<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>
- <size>59000</size>
+ <size>1101025</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>helloworld_testclient</name>
- <shortDescription>JBoss ESB HelloWorld Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This example is to demonstrate how to invoke the deployed HelloWorld ESB. It requires the helloworld project.</description>
- <size>1000000</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
-
- <project>
- <category>ESB for SOA-P 5.0</category>
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
a single Action class and make multiple method calls or use multiple Action
classes.</description>
- <size>7100</size>
+ <size>26261</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>helloworld_action_client</name>
- <shortDescription>JBoss ESB HelloWorld Action Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the deployed helloworld_action ESB. It requires the helloworld_action project</description>
- <size>18694</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
-
- <project>
- <category>ESB for SOA-P 5.0</category>
- <name>helloworld_file_action</name>
+ <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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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>
- <size>7920</size>
+ <size>16505</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">helloworld_file_action</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>helloworld_file_action_client</name>
- <shortDescription>JBoss ESB HelloWorld File Action Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the deployed helloworld_file_action ESB. It requires the helloworld_file_action project.</description>
- <size>18694</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
- <project>
- <category>ESB for SOA-P 5.0</category>
- <name>webservice_consumer1</name>
+ <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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
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>
- <size>22500</size>
+ <size>1120499</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">webservice_consumer1</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
- <project>
- <category>ESB for SOA-P 5.0</category>
- <name>webservice_consumer1_client</name>
- <shortDescription>JBoss ESB Web Service consumer1 Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the deployed a comsumer web service.It requires the webservice_consumer1 project.</description>
- <size>1000000</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>webservice_producer</name>
+ <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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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>
- <size>53000</size>
+ <size>55269</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">webservice_producer</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
- <project>
- <category>ESB for SOA-P 5.0</category>
- <name>webservice_producer_client</name>
- <shortDescription>JBoss ESB Web Service producer Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the deployed a web service endpoint.It requires the webservice_producer project.</description>
- <size>14200</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
<project>
<category>ESB for SOA-P 5.0</category>
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
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>
- <size>7200</size>
+ <size>19434</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_CSV2XML</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>transform_CSV2XML_client</name>
- <shortDescription>JBoss ESB Smooks CSV->XML Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the JBoss ESB smooks CSV->XML transformation.It requires the transform_CSV2XML project.</description>
- <size>16600</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
-
- <project>
- <category>ESB for SOA-P 5.0</category>
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
use of Smooks performing a simple transformation by converting a XML file into
Java POJOs.</description>
- <size>26600</size>
+ <size>40936</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2POJO</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>transform_XML2POJO_client</name>
- <shortDescription>JBoss ESB Smooks XML->POJO Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the JBoss ESB smooks XML->POJO transformation.It requires the transform_XML2POJO project.</description>
- <size>22400</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
-
- <project>
- <category>ESB for SOA-P 5.0</category>
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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.
@@ -195,49 +178,42 @@
SampleOrder date field (see OrderDate.java) and use XSLT for what it's good at
i.e. Templating. Again, the transformed SampleOrder.xml message is just
printed to the Java console (message before and after).</description>
- <size>13600</size>
+ <size>22071</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2XML_date_manipulation</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
<project>
<category>ESB for SOA-P 5.0</category>
- <name>transform_XML2XML_date_manipulation_client</name>
- <shortDescription>JBoss ESB Smooks XML->XML date-manipulation Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the JBoss ESB XML->XML date-manipulation transformation.It requires the transform_XML2XML_date_manipulation project.</description>
- <size>18600</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
-
- <project>
- <category>ESB for SOA-P 5.0</category>
<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 runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
+ <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
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>
- <size>6700</size>
+ <size>19224</size>
<url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
</url>
+ <fixes>
+ <fix type="wtpruntime">
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
+ <property name="eclipse-projects">transform_XML2XML_simple</property>
+ <property name="required-components">esb</property>
+ <property name="description">This project example requires the JBoss SOA-P 5.0 and the runtime name should be "jboss-soa-p.5.0 Runtime"</property>
+ </fix>
+ </fixes>
</project>
-
- <project>
- <category>ESB for SOA-P 5.0</category>
- <name>transform_XML2XML_simple_client</name>
- <shortDescription>JBoss ESB Smooks XML->XML Example - Client</shortDescription>
- <description>NOTE: Before import this example, please make sure that there is runtime named "jboss-soa-p.5.0 Runtime" in the workspace.
- This sample is to test the JBoss ESB XML->XML transformation.It requires the transform_XML2XML_simple project.</description>
- <size>17800</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/Denny/esb-example-soa...
- </url>
- </project>
<project>
<category>Seam</category>
15 years, 9 months