<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Here's the complete list of examples we
      need to go through and clean up (minus the 5 ones used as wizards
      in Central, plus the new JDF ones) , listed under the&nbsp; pattern :<br>
      project-example site - category<br>
      project id - short description<br>
      <br>
      so please, help me strike those which you feel should be removed
      in JBT 4<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-4.0.Alpha1.xml">http://download.jboss.org/jbosstools/examples/project-examples-maven-4.0.Alpha1.xml</a>
        - JBoss Quickstarts</b><br>
      helloworld - Helloworld<br>
      helloworld-osgi - Helloworld OSGi Example<br>
      login - Login<br>
      numberguess - Numberguess<br>
      kitchensink - Kitchensink<br>
      helloworld-html5 - HTML5<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml">http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml</a>
        - Teiid Designe</b>r<br>
      Parts - Parts Model Project Set Example<br>
      Portfolio - Portfolio Web Service Project Set Example<br>
      US States - US States SOAP Service Project Set Example<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-bpel-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-bpel-3.1.xml</a>
        - BPEL</b><br>
      HelloWorld - A simple BPEL example<br>
      Hello_World_Header_Ode - A Hello World Header ODE BPEL example<br>
      Hello_World_Header_WSDL - A Hello World Header WSDL BPEL example<br>
      Loan_Approval - A Loan Approval BPEL example<br>
      Loan_Approval_WS - A Web Services Project called by Loan_Approval<br>
      Math - A Math BPEL example<br>
      Salutations - A Salutations BPEL example<br>
      Say_Hello - A Say Hello BPEL example<br>
      Service_Handler - A Service Handler BPEL example<br>
      Simple_Correlation - A correlation BPEL example<br>
      Simple_Invoke - A Simple Invoke BPEL example<br>
      Simple_Invoke_WS - A Web Service project called by Simple Invoke
      BPEL example<br>
      Simple_Pick - A Simple Pick BPEL example<br>
      BluePrint1 - A Synchronous Web Service Interactions BPEL example<br>
      BluePrint2 - A Asynchronous Web Service Interactions BPEL example<br>
      BluePrint3 - A Fault Handling BPEL example<br>
      BluePrint4 - A Message-Based Coordination of Events BPEL example<br>
      BluePrint5 - A Concurrent Asynchronous Coordination of Events BPEL
      example<br>
      Fault_Compensation - A Fault Compensation BPEL example<br>
      While_Wait - A While Wait BPEL example<br>
      While_Wait_WS - A Web Service project called by While_Wait example<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml">http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml</a>
        - Weld 1.0.1 for JBoss Application Server 6.0</b><br>
      weld-jsf-login - Weld JSF login example<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml">http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml</a>
        - Weld 1.1.0 for JBoss Application Server 6.0</b><br>
      weld-jsf-login - Weld JSF login example<br>
      weld-jsf-numberguess - Weld JSF Numberguess example<br>
      weld-jsf-pastecode - Weld JSF pastecode example<br>
      weld-jsf-permalink - Weld JSF permalink example<br>
      weld-jsf-translator - Weld JSF translator example<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - Seam</b><br>
      registration - Seam Registration Example - EAR (including a test
      project)<br>
      registration2 - Seam Registration Example - EAR<br>
      messages - Seam Messages Example - EAR<br>
      todo - Seam and jBPM: the todo list example - EAR<br>
      numberguess - Seam pageflow: the numberguess example - EAR<br>
      booking3-mavenized - Seam Booking Example - EAR mavenized - Seam
      2.1.1.GA<br>
      booking3 - Seam Booking Example - EAR (including a tutorial)<br>
      booking2 - Seam Booking Example - EAR mavenized<br>
      booking22 - Seam 2.2 Booking Example - EAR (including a tutorial)<br>
      photoalbum-mavenized - PhotoAlbum - EAR mavenized (RichFaces
      3.3.1.GA, Seam 2.2.0.GA)<br>
      photoalbum - PhotoAlbum - EAR (RichFaces 3.3.1.GA, Seam 2.2.0.GA)<br>
      dvdstore22 - Seam 2.2 DVD Store Example - EAR (including a test
      project)<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - RESTEasy</b><br>
      simple - RESTEasy Simple Example<br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - Portlet</b><br>
      testjsfportlet - JBoss JSF Portlet Example<br>
      testseamportlet - JBoss Seam Portlet Example<br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - Portlet for JBoss Enterprise Portal Platform</b> 5.x/GateIn
      3.1<br>
      JSFPortlet - JBoss JSF RI Portlet<br>
      RichFacesPortlet - JBoss Portlet Bridge - RichFaces Application<br>
      SeamPortlet - JBoss Portlet Bridge - Seam Portlet<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - ESB for JBoss Enterprise SOA Platform 5.0</b><br>
      helloworld - JBoss ESB HelloWorld Example - ESB<br>
      helloworld_action - JBoss ESB HelloWorld Action Example - ESB<br>
      helloworld_file_action - JBoss ESB HelloWorld File Action Example
      - ESB<br>
      webservice_consumer1 - JBoss ESB Web Service consumer1 Example<br>
      webservice_producer - JBoss ESB Web Service producer Example<br>
      transform_CSV2XML - JBoss ESB Smooks CSV-&gt;XML Example<br>
      transform_XML2POJO - JBoss ESB Smooks XML-&gt;POJO Example<br>
      transform_XML2XML_date_manipulation - JBoss ESB Smooks XML-&gt;XML
      date-manipulation Example<br>
      transform_XML2XML_simple - JBoss ESB Smooks XML-&gt;XML Example<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - ESB for JBoss Enterprise SOA Platform 4.3</b><br>
      helloworld - JBoss ESB HelloWorld Example - ESB<br>
      helloworld_action - JBoss ESB HelloWorld Action Example - ESB<br>
      helloworld_file_action - JBoss ESB HelloWorld File Action Example
      - ESB<br>
      webservice_consumer1 - JBoss ESB Web Service consumer1 Example<br>
      webservice_producer - JBoss ESB Web Service producer Example<br>
      transform_CSV2XML - JBoss ESB Smooks CSV-&gt;XML Example<br>
      transform_XML2POJO - JBoss ESB Smooks XML-&gt;POJO Example<br>
      transform_XML2XML_date_manipulation - JBoss ESB Smooks XML-&gt;XML
      date-manipulation Example<br>
      transform_XML2XML_simple - JBoss ESB Smooks XML-&gt;XML Example<br>
      <b><br>
      </b><b><a class="moz-txt-link-freetext" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a>
        - Richfaces 4.0/JSF 2.0</b><br>
      richfaces-simpleapp - RichFaces 4.0 Simple Application<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="https://github.com/downloads/ppalaga/gatein-portal-quickstart/project-examples-gatein-4.0-001.xml">https://github.com/downloads/ppalaga/gatein-portal-quickstart/project-examples-gatein-4.0-001.xml</a>
        - GateIn Portal Quickstarts</b><br>
      simplest-hello-world-portlet - Simplest Hello World Portlet<br>
      jsf2-hello-world-portlet - JSF2 Hello World Portlet<br>
      jsf2-rf4-hello-world-portlet - JSF2+RF4 Hello World Portlet<br>
      <br>
      <b><a class="moz-txt-link-freetext" href="file:/D:/Dev/GitHub/jboss-as-quickstart/target/zips/quickstarts.xml">file:/D:/Dev/GitHub/jboss-as-quickstart/target/zips/quickstarts.xml</a>
        - JBoss Developer Framework</b><br>
      bean-validation - Bean Validation<br>
      bmt - Bean Managed Transactions<br>
      jboss-as-cdi-injection - CDI Injection<br>
      jboss-as-cdi-portable-extension - CDI Portable Extension<br>
      ejb-in-ear - EJB and War in an Ear - Root pom<br>
      ejb-in-war - EJB in a War<br>
      ejb-remote - Parent for remote EJB and Java client<br>
      ejb-security - EJB Security<br>
      greeter - Greeter<br>
      helloworld - Helloworld<br>
      helloworld-errai - Errai Hello World<br>
      helloworld-gwt - Hello World with GWT front-end client<br>
      helloworld-html5 - HTML5 + REST Helloworld<br>
      helloworld-jms - helloworld-jms<br>
      helloworld-osgi - OSGi Helloworld<br>
      helloworld-rs - JAX-RS Helloworld<br>
      helloworld-singleton - Helloworld Singleton Session Bean with JSF
      2.0 as client<br>
      hibernate3 - Hibernate 3<br>
      hibernate4 - Hibernate 4<br>
      kitchensink - Kitchensink<br>
      kitchensink-ear - Kitchensink EAR<br>
      kitchensink-html5-mobile - AeroGear HTML5/Mobile<br>
      kitchensink-jsp - Kitchensink JSP<br>
      kitchensink-ml - Localized Kitchensink (Multiple-Language)<br>
      kitchensink-ml-ear - Localized Kitchensink EAR<br>
      log4j - Log4j<br>
      logging-tools - jboss-as-logging-tools<br>
      mail - Mail<br>
      numberguess - Numberguess<br>
      payment-cdi-event - CDI Event<br>
      richfaces-validation - RichFaces Bean Validation<br>
      servlet-async - Asynchronous Servlet<br>
      servlet-filterlistener - Servlet Filter and Listener<br>
      servlet-security - Servlet Security<br>
      tasks - Tasks<br>
      tasks-jsf - Tasks JSF<br>
      temperature-converter - Temperature Converter<br>
      tasks-rs - Tasks JAX-RS<br>
      wicket-ear - Wicket EAR parent<br>
      wicket-war - Wicket: WAR<br>
      xml-jaxp - XML JAXP<br>
      xml-dom4j - XML DOM4J<br>
      cmt - Container Managed Transactions<br>
      jts - Java Transaction Service<br>
      jax-rs-client - JAX-RS Client<br>
      inter-app - Inter-application<br>
      helloworld-mdb - Helloworld Message-Driven Bean with Servlet 3.0
      as client<br>
      jta-crash-rec - XA and JTA Crash Recovery<br>
      wsat-simple - Simple WS-AT Web service<br>
      wsba-coordinator-completion-simple - Simple WS-BA with Coordinator
      Driven Completion<br>
      wsba-participant-completion-simple - Simple WS-BA with Participant
      Driven Completion<br>
      <br>
      <br>
      Le 10/10/2012 11:36, Fred Bricon a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:50754180.6090300@redhat.com" type="cite">
      <pre wrap="">Could we leave the git-backed examples discussion aside for a moment, as 
this is really an orthogonal issue that deserves another thread.

My main concern is : what examples do we want to ship in JBT 4 / JBDS 6
- are you guys ok to add the JDF ones? If so which ones? should they 
appear in central? if so which ones?
- If you guys want to keep (some of) the old examples, which ones?

Fred


Le 09/10/2012 19:18, Max Rydahl Andersen a &eacute;crit :
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">I didn't know about that one. I see you're point but I'd still prefer
using one zip / example, it'd be more efficient, I think.
JBIDE-12554 is marked as closed. You should probably open a new one.
</pre>
        </blockquote>
        <pre wrap="">his point is that since its downloaded via maven the zip only needs to be fetched once.

</pre>
        <blockquote type="cite">
          <pre wrap="">On mardi 9 octobre 2012 17:14:29, Fred Bricon wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi,

we need to clean up the project examples in JBoss Tools 4.0/JBDS 6.0
(as part of <a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/JBIDE-12554">https://issues.jboss.org/browse/JBIDE-12554</a>).
So, my idea was to replace all the old examples with the quickstarts
from <a class="moz-txt-link-freetext" href="https://github.com/jboss-jdf/jboss-as-quickstart">https://github.com/jboss-jdf/jboss-as-quickstart</a>

Since the quickstarts are not available as standalone zips, for
consumption in JBT/JBDS, I created a script
(<a class="moz-txt-link-freetext" href="https://github.com/fbricon/jboss-as-quickstart/commit/cb1a0638b352434c48c7ecb6de20ed514e0c31fb">https://github.com/fbricon/jboss-as-quickstart/commit/cb1a0638b352434c48c7ecb6de20ed514e0c31fb</a>)
<a class="moz-txt-link-rfc2396E" href="https://github.com/fbricon/jboss-as-quickstart/commit/cb1a0638b352434c48c7ecb6de20ed514e0c31fb">&lt;https://github.com/fbricon/jboss-as-quickstart/commit/cb1a0638b352434c48c7ecb6de20ed514e0c31fb&gt;</a>
that does that, and it also generates a project example stub we can
use almost directly in JBT.

D:\Dev\GitHub\jboss-as-quickstart&gt;mvn groovy:execute -N
-Pzip-modules,requires-postgres,complex-dependencies,requires-full,requires-xts
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building JBoss AS Quickstarts Parent 7.1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- gmaven-plugin:1.4:execute (default-cli) @
jboss-as-quickstarts-parent ---
Starting zipping JBoss AS Quickstarts Parent modules
Deleting D:\Dev\GitHub\jboss-as-quickstart\target\zips
Zipped 51 quickstart modules
Generating project examples descriptor for JBoss Tools
[WARNING] module 'bmt' has a non matching artifactId 'jboss-as-bmt'
[WARNING] module 'cdi-injection' has a non matching artifactId
'jboss-as-cdi-injection'
[WARNING] module 'cdi-portable-extension' has a non matching
artifactId 'jboss-as-cdi-portable-extension'
[WARNING] module 'ejb-in-ear' has a non matching artifactId
'jboss-as-ejb-in-ear'
[WARNING] module 'ejb-in-war' has a non matching artifactId
'jboss-as-ejb-in-war'
[WARNING] module 'ejb-remote' has a non matching artifactId
'jboss-as-ejb-remote-parent'
[WARNING] module 'ejb-security' has a non matching artifactId
'jboss-as-ejb-security'
[WARNING] module 'greeter' has a non matching artifactId
'jboss-as-greeter'
[WARNING] module 'helloworld' has a non matching artifactId
'jboss-as-helloworld'
[WARNING] module 'helloworld-errai' has a non matching artifactId
'jboss-as-helloworld-errai'
[WARNING] module 'helloworld-gwt' has a non matching artifactId
'jboss-as-helloworld-gwt'
[WARNING] module 'helloworld-html5' has a non matching artifactId
'jboss-as-helloworld-html5'
[WARNING] module 'helloworld-jms' has a non matching artifactId
'jboss-as-helloworld-jms'
[WARNING] module 'helloworld-osgi' has a non matching artifactId
'jboss-as-helloworld-osgi'
[WARNING] module 'helloworld-rs' has a non matching artifactId
'jboss-as-helloworld-rs'
[WARNING] module 'helloworld-singleton' has a non matching artifactId
'jboss-as-helloworld-singleton'
[WARNING] module 'hibernate3' has a non matching artifactId
'jboss-as-hibernate3'
[WARNING] module 'hibernate4' has a non matching artifactId
'jboss-as-hibernate4'
[WARNING] module 'kitchensink' has a non matching artifactId
'jboss-as-kitchensink'
[WARNING] module 'kitchensink-ear' has a non matching artifactId
'jboss-as-kitchensink-ear'
[WARNING] module 'kitchensink-html5-mobile' has a non matching
artifactId 'jboss-as-kitchensink-html5-mobile'
[WARNING] module 'kitchensink-jsp' has a non matching artifactId
'jboss-as-kitchensink-jsp'
[WARNING] module 'kitchensink-ml' has a non matching artifactId
'jboss-as-kitchensink-ml'
[WARNING] module 'kitchensink-ml-ear' has a non matching artifactId
'jboss-as-kitchensink-ml-ear'
[WARNING] module 'log4j' has a non matching artifactId 'jboss-as-log4j'
[WARNING] module 'logging-tools' has a non matching artifactId
'jboss-as-logging-tools'
[WARNING] module 'mail' has a non matching artifactId 'jboss-as-mail'
[WARNING] module 'numberguess' has a non matching artifactId
'jboss-as-numberguess'
[WARNING] module 'payment-cdi-event' has a non matching artifactId
'jboss-as-payment-cdi-event'
[WARNING] module 'richfaces-validation' has a non matching artifactId
'jboss-as-richfaces-validation'
[WARNING] module 'servlet-async' has a non matching artifactId
'jboss-as-servlet-async'
[WARNING] module 'servlet-filterlistener' has a non matching
artifactId 'jboss-as-servlet-filterlistener'
[WARNING] module 'servlet-security' has a non matching artifactId
'jboss-as-servlet-security'
[WARNING] module 'tasks' has a non matching artifactId 'jboss-as-tasks'
[WARNING] module 'tasks-jsf' has a non matching artifactId
'jboss-as-tasks-jsf'
[WARNING] module 'temperature-converter' has a non matching artifactId
'jboss-as-temperature-converter'
[WARNING] module 'tasks-rs' has a non matching artifactId
'jboss-as-tasks-rs'
[WARNING] module 'wicket-ear' has a non matching artifactId
'jboss-as-wicket-ear-parent'
[WARNING] module 'wicket-war' has a non matching artifactId
'jboss-as-wicket-war'
[WARNING] module 'xml-jaxp' has a non matching artifactId
'jboss-as-xml-jaxp'
[WARNING] module 'xml-dom4j' has a non matching artifactId
'jboss-as-xml-dom4j'
[WARNING] module 'cmt' has a non matching artifactId 'jboss-as-cmt'
[WARNING] module 'jts' has a non matching artifactId 'jboss-as-jts-parent'
[WARNING] module 'jax-rs-client' has a non matching artifactId
'jboss-as-jax-rs-client'
[WARNING] module 'inter-app' has a non matching artifactId
'jboss-as-inter-app-parent'
[WARNING] module 'helloworld-mdb' has a non matching artifactId
'jboss-as-helloworld-mdb'
[WARNING] module 'jta-crash-rec' has a non matching artifactId
'jboss-as-jta-crash-rec'
[WARNING] module 'wsat-simple' has a non matching artifactId
'jboss-as-wsat-simple'
[WARNING] module 'wsba-coordinator-completion-simple' has a non
matching artifactId 'jboss-as-wsba-coordinator-completion-simple'
[WARNING] module 'wsba-participant-completion-simple' has a non
matching artifactId 'jboss-as-wsba-participant-completion-simple'
D:\Dev\GitHub\jboss-as-quickstart\target\zips\quickstarts.xml generated


[WARNING] 50 quickstart artifactIds mismatch with their folder name.
This will prevent WTP from opening the proper url when running on a
server.

[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.506s
[INFO] Finished at: Tue Oct 09 15:02:44 CEST 2012
[INFO] Final Memory: 11M/490M
[INFO]
------------------------------------------------------------------------

As hinted  in the log, the examples wouldn't quite work perfectly
OOTB.
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/M2E-WTP_FAQ#How_do_I_change_the_context_root_of_my_project.3F">http://wiki.eclipse.org/M2E-WTP_FAQ#How_do_I_change_the_context_root_of_my_project.3F</a>
explains how the context root is inferred from the pom.xml by m2e-wtp.
However our own JBoss AS server adapter ignores the WTP project
context root and bases its deployment on the project name, leading to
404s as seen in the video below.

End result in JBT / Central :
<a class="moz-txt-link-freetext" href="http://www.screencast.com/users/fbricon/folders/Jing/media/464f8246-84bc-4941-b84c-7ae6420c2ac7">http://www.screencast.com/users/fbricon/folders/Jing/media/464f8246-84bc-4941-b84c-7ae6420c2ac7</a>

Now.
* are you guys ok to actually remove and replace the old examples
with the JDF quickstarts
* if you're ok, I'll setup a CI job to deploy the quickstarts to
download.jboss.org
* who's willing to give me a hand in validating the quickstarts
properly work in JBT/JBDS. That includes :
      - checking the project belongs (or not) to JBT/JBDS
      - checking there's a proper project description
      - checking the projects are properly configured (I noticed some
EARs are seen as 1.3 instead of 6.0) and compile without errors
      - checking the projects deploy OOTB on AS7/EAP6

Regards,

Fred Bricon



_______________________________________________
jdf-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a>
</pre>
          </blockquote>
          <pre wrap="">
_______________________________________________
jdf-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a>
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
_______________________________________________
jdf-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>