<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I'm just experimenting with this configuration now in Solder,
    however I'm getting the following exception when I run the tests -
    anyone seen this before?<br>
    <br>
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
    0.244 sec &lt;&lt;&lt; FAILURE!<br>
    initializationError(org.jboss.seam.solder.test.resourceLoader.ResourceLoaderTest)&nbsp;
    Time elapsed: 0.004 sec&nbsp; &lt;&lt;&lt; ERROR!<br>
    java.lang.NoClassDefFoundError:
    org/jboss/shrinkwrap/descriptor/api/Node<br>
    &nbsp;&nbsp;&nbsp; at java.lang.Class.getDeclaredConstructors0(Native Method)<br>
    &nbsp;&nbsp;&nbsp; at
    java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)<br>
    &nbsp;&nbsp;&nbsp; at java.lang.Class.getConstructor0(Class.java:2699)<br>
    &nbsp;&nbsp;&nbsp; at java.lang.Class.getConstructor(Class.java:1657)<br>
    &nbsp;&nbsp;&nbsp; at
org.jboss.shrinkwrap.descriptor.impl.base.DescriptorImporterBase.from(DescriptorImporterBase.java:145)<br>
    &nbsp;&nbsp;&nbsp; at
org.jboss.arquillian.impl.bootstrap.ConfigurationRegistrar.loadConfiguration(ConfigurationRegistrar.java:50)<br>
    <br>
    On 21/08/11 09:18, John D. Ament wrote:
    <blockquote
cite="mid:CAOqetn-Up_X1koqR1iy_szKoYioX+=Ew5anxR6X6W_rZv_wkBg@mail.gmail.com"
      type="cite">
      <p>I am willing to convert seam JCR to this to see how it runs.</p>
      <p>John</p>
      <div class="gmail_quote">On Aug 20, 2011 7:17 PM, "George
        Gastaldi" &lt;<a moz-do-not-send="true"
          href="mailto:gegastaldi@gmail.com">gegastaldi@gmail.com</a>&gt;
        wrote:<br type="attribution">
        &gt; +1 to the multiple sources idea<br>
        &gt; <br>
        &gt; Em 20/08/2011, &agrave;s 20:01, Shane Bryzak &lt;<a
          moz-do-not-send="true" href="mailto:sbryzak@redhat.com">sbryzak@redhat.com</a>&gt;
        escreveu:<br>
        &gt; <br>
        &gt; We could possibly do it by specifying additional source
        directories for each<br>
        &gt; profile.<br>
        &gt; <br>
        &gt; <a moz-do-not-send="true"
href="http://chadthedeveloper.blogspot.com/2008/02/maven2-multiple-source-directories-and.html">http://chadthedeveloper.blogspot.com/2008/02/maven2-multiple-source-directories-and.html</a><br>
        &gt; <br>
        &gt; On 21/08/11 08:59, Jason Porter wrote:<br>
        &gt; <br>
        &gt; Can we add additional tests with this though for each
        container?<br>
        &gt; <br>
        &gt; Sent from my iPhone<br>
        &gt; <br>
        &gt; On Aug 20, 2011, at 16:35, Shane Bryzak &lt;<a
          moz-do-not-send="true" href="mailto:sbryzak@redhat.com">sbryzak@redhat.com</a>&gt;
        wrote:<br>
        &gt; <br>
        &gt; That might be one way we can do it - Ken, what do you think
        about<br>
        &gt; structuring the test suite like this?<br>
        &gt; <br>
        &gt; <a moz-do-not-send="true"
          href="https://gist.github.com/1155271">https://gist.github.com/1155271</a><br>
        &gt; <br>
        &gt; <br>
        &gt; On 21/08/11 08:27, Jason Porter wrote:<br>
        &gt; <br>
        &gt; Maybe something in surefire, or what aslak said on twitter
        may be helpful.<br>
        &gt; <br>
        &gt; Sent from my iPhone<br>
        &gt; <br>
        &gt; On Aug 20, 2011, at 16:21, Shane Bryzak &lt;<a
          moz-do-not-send="true" href="mailto:sbryzak@redhat.com">sbryzak@redhat.com</a>&gt;
        wrote:<br>
        &gt; <br>
        &gt; I'm currently looking into it.<br>
        &gt; <br>
        &gt; On 21/08/11 08:04, Jason Porter wrote:<br>
        &gt; <br>
        &gt; Is it possible to add a source directory or test directory?<br>
        &gt; <br>
        &gt; Sent from my iPhone<br>
        &gt; <br>
        &gt; On Aug 20, 2011, at 15:36, Shane Bryzak &lt;<a
          moz-do-not-send="true" href="mailto:sbryzak@redhat.com">sbryzak@redhat.com</a>&gt;
        wrote:<br>
        &gt; <br>
        &gt; Unfortunately that doesn't work - the issue occurs when the
        artifacts<br>
        &gt; being unpacked are in the same reactor. See<br>
        &gt; <a moz-do-not-send="true"
          href="http://jira.codehaus.org/browse/MDEP-98">http://jira.codehaus.org/browse/MDEP-98</a><br>
        &gt; <br>
        &gt; On 21/08/11 01:11, Ken Finnigan wrote:<br>
        &gt; <br>
        &gt; If I'm not mistaken, that error is resolved by installing
        the artifacts.<br>
        &gt; <br>
        &gt; The problem is that it doesn't know how to unpack a
        directory, so the jar<br>
        &gt; with the test classes needs to be installed for it to work<br>
        &gt; <br>
        &gt; Ken<br>
        &gt; <br>
        &gt; Sent from my iPhone<br>
        &gt; <br>
        &gt; On Aug 20, 2011, at 11:02, Shane Bryzak &lt;<a
          moz-do-not-send="true" href="mailto:sbryzak@redhat.com">sbryzak@redhat.com</a>&gt;
        wrote:<br>
        &gt; <br>
        &gt; I've made some progress in this area, so far I've created a
        few of the<br>
        &gt; container boms in seam-parent and also started converting
        the Solder tests<br>
        &gt; to use the new structure.<br>
        &gt; <br>
        &gt; I have run into one issue though - when running the tests
        I'm encountering<br>
        &gt; the error below. The reason it hasn't manifested in the
        International<br>
        &gt; module is because there was a version mismatch between some
        of the test<br>
        &gt; suite artifacts, however if you synchronize them all you
        get the same error.<br>
        &gt; <br>
        &gt; [INFO] Reactor Summary:<br>
        &gt; [INFO]<br>
        &gt; [INFO] Seam International Test Suite: Aggregator .........
        SUCCESS [1.224s]<br>
        &gt; [INFO] Seam Container BOMs Aggregator ....................
        SUCCESS [0.025s]<br>
        &gt; [INFO] Weld EE Embedded 1.1 Container ....................
        SUCCESS [0.899s]<br>
        &gt; [INFO] JBoss AS7 Managed Container .......................
        SUCCESS [2.722s]<br>
        &gt; [INFO] Seam International Test Suite Common ..............
        SUCCESS [0.376s]<br>
        &gt; [INFO] Seam International Test Suite: Internals Integration
        Tests SUCCESS<br>
        &gt; [0.013s]<br>
        &gt; [INFO] Seam International Test Suite: Internals Integration
        Tests Base<br>
        &gt; SUCCESS [0.743s]<br>
        &gt; [INFO] Seam International Test Suite: Internals Integration
        Tests for JBoss<br>
        &gt; AS FAILURE [2.529s]<br>
        &gt; [INFO] Seam International Test Suite: Internals Integration
        Tests for Weld<br>
        &gt; EE Embedded SKIPPED<br>
        &gt; [INFO]<br>
        &gt;
        ------------------------------------------------------------------------<br>
        &gt; [INFO] BUILD FAILURE<br>
        &gt; [INFO]<br>
        &gt;
        ------------------------------------------------------------------------<br>
        &gt; [INFO] Total time: 9.393s<br>
        &gt; [INFO] Finished at: Sun Aug 21 00:55:38 EST 2011<br>
        &gt; [INFO] Final Memory: 25M/348M<br>
        &gt; [INFO]<br>
        &gt;
        ------------------------------------------------------------------------<br>
        &gt; [ERROR] Failed to execute goal<br>
        &gt; org.apache.maven.plugins:maven-dependency-plugin:2.1:unpack<br>
        &gt; (unpack-base-tests) on project<br>
        &gt; seam-international-testsuite-integration-internals-jbossas:
        Error unpacking<br>
        &gt; file:<br>
        &gt;
/home/shane/project/seam/international/testsuite/internals/base/target/classes<br>
        &gt; to:<br>
        &gt;
/home/shane/project/seam/international/testsuite/internals/jbossas/target/test-classes<br>
        &gt; [ERROR] org.codehaus.plexus.archiver.ArchiverException: The
        source must not<br>
        &gt; be a directory.<br>
        &gt; [ERROR] -&gt; [Help 1]<br>
        &gt; <br>
        &gt; <br>
        &gt; I've spent a little time trying to find a workaround but it
        seems that this<br>
        &gt; has been a known bug in Maven for at least 4 years. If
        anyone wants to take<br>
        &gt; a look at this and try to figure out a workaround in the
        meantime please be<br>
        &gt; my guest.<br>
        &gt; <br>
        &gt; Shane<br>
        &gt; <br>
        &gt; <br>
        &gt; On 30/07/11 12:16, Ken Finnigan wrote:<br>
        &gt; <br>
        &gt; All,<br>
        &gt; <br>
        &gt; I've committed the work on the Arquillian testsuite
        infrastructure on the<br>
        &gt; i18n module which can be found here:<br>
        &gt; <a moz-do-not-send="true"
          href="https://github.com/seam/international/tree/develop/testsuite">https://github.com/seam/international/tree/develop/testsuite</a><br>
        &gt; <br>
        &gt; Here are some notes on how it's structured and what needs
        to be done:<br>
        &gt; <br>
        &gt; <br>
        &gt; - API and Impl modules still retain unit tests that don't
        require<br>
        &gt; container testing<br>
        &gt; - testsuite/common includes Deployment and Library helpers
        and anything<br>
        &gt; that would be common to multiple types of testsuites, such
        as internals,<br>
        &gt; smoke, etc<br>
        &gt; - The helpers from this module could potentially be pulled
        up into a<br>
        &gt; common module for all, but that may introduce complexity in<br>
        &gt; trying to use it<br>
        &gt; in each module so may be best to leave it there for the
        moment<br>
        &gt; and see how<br>
        &gt; it goes<br>
        &gt; - testsuite/container-boms contains the container
        definition for weld ee<br>
        &gt; embedded and AS7. Others can be found at<br>
        &gt; <a moz-do-not-send="true"
href="https://github.com/mojavelinux/arquillian-showcase/tree/master/container-boms">https://github.com/mojavelinux/arquillian-showcase/tree/master/container-boms</a><br>
        &gt; - One of the first things that needs to happen is these
        container-boms<br>
        &gt; need to be created in a seam parent module of some kind
        such that each<br>
        &gt; module can utilize them without having to replicate the
        content directly<br>
        &gt; - testsuite/internals/base contains the test classes that
        used to be<br>
        &gt; within impl. For i18n I was able to leave the entirety of
        the test classes<br>
        &gt; in the bases module and simply explode it into the
        target/test-classes<br>
        &gt; directory of the testsuite/internals/${container} modules
        as part of the<br>
        &gt; integration-test phase.<br>
        &gt; - To make it easier to then explode the jar built from this
        module<br>
        &gt; into sub modules, the test classes and resources actually
        need to be in<br>
        &gt; src/main. As we don't plan using the jar built from this
        for<br>
        &gt; anything other<br>
        &gt; than testing it's not an issue.<br>
        &gt; - container tests are only activated on the
        integration-test phase<br>
        &gt; and skipped on the basic test phase<br>
        &gt; - <a moz-do-not-send="true"
href="https://github.com/seam/international/blob/develop/testsuite/README.mdoutlines">https://github.com/seam/international/blob/develop/testsuite/README.mdoutlines</a><br>
        &gt; all the proposed types of suites that testsuite can
        contain. I<br>
        &gt; believe an initial first step should be to move the
        existing container<br>
        &gt; tests, or create some, for the internals module. Over time
        we can then look<br>
        &gt; to flesh out the testsuite with additional types such as
        smoke, cluster,<br>
        &gt; api, etc<br>
        &gt; - One area that I haven't looked at yet is code coverage
        given that the<br>
        &gt; tests are further spread than previously. I'm hoping that
        it will be<br>
        &gt; relatively easy to amalgamate all the coverage data to
        produce a single<br>
        &gt; report.<br>
        &gt; <br>
        &gt; Any questions about this please let me know.<br>
        &gt; <br>
        &gt; Ken<br>
        &gt; <br>
        &gt; <br>
        &gt; _______________________________________________<br>
        &gt; seam-dev mailing<br>
        &gt; <a class="moz-txt-link-abbreviated" href="mailto:listseam-dev@lists.jboss.orghttps://">listseam-dev@lists.jboss.orghttps://</a><a
          moz-do-not-send="true"
          href="http://lists.jboss.org/mailman/listinfo/seam-dev">lists.jboss.org/mailman/listinfo/seam-dev</a><br>
        &gt; <br>
        &gt; <br>
        &gt; <br>
        &gt; _______________________________________________<br>
        &gt; seam-dev mailing list<br>
        &gt; <a moz-do-not-send="true"
          href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
        &gt; <a moz-do-not-send="true"
          href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
        &gt; <br>
        &gt; <br>
        &gt; <br>
        &gt; <br>
        &gt; _______________________________________________<br>
        &gt; seam-dev mailing list<br>
        &gt; <a moz-do-not-send="true"
          href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
        &gt; <a moz-do-not-send="true"
          href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>