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