Java 6 is backwards compatible with Java 5, so it should have no effect on the outcome of the the tests.&nbsp; Which tests failed?<br><br>Dennis Byrne<br><br><div><span class="gmail_quote">On 12/27/07, <b class="gmail_sendername">
Tom Waterhouse</b> &lt;<a href="mailto:Tom.Waterhouse@sabrix.com">Tom.Waterhouse@sabrix.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I didn&#39;t see a requirement for the Java version in the instructions for building JSFUnit.&nbsp;&nbsp;I&#39;m using Java 6 and did receive some unit test failures during the build.&nbsp;&nbsp;Java 5 is required to build?<br><br><br>________________________________
<br><br>From: <a href="mailto:jsfunit-dev-bounces@lists.jboss.org">jsfunit-dev-bounces@lists.jboss.org</a> on behalf of Stan Silvert<br>Sent: Thu 12/27/2007 12:16 PM<br>To: JSFUnit -Dev List<br>Subject: Re: [jsfunit-dev] Maven, Jetty, and commons-logging issue
<br><br><br><br>Hi Tom,<br><br>If you checkout and build JSFUnit from scratch you can run its Maven<br>build and automatically test several sample applications using Jetty,<br>Tomcat 5.5, or JBoss 4.0.5.&nbsp;&nbsp;The default is to use Jetty since that is
<br>the default container for Cargo.<br><br>See details here:<br><a href="http://labs.jboss.com/jsfunit/source-repository.html">http://labs.jboss.com/jsfunit/source-repository.html</a><br><a href="http://labs.jboss.com/jsfunit/building-jsfunit.html">
http://labs.jboss.com/jsfunit/building-jsfunit.html</a><br><br>Hope that helps,<br><br>Stan<br><br>Tom Waterhouse wrote:<br>&gt; I&#39;ve followed the instructions posted for using Jetty as a test<br>&gt; container in a Maven build (I had sent an email previously about
<br>&gt; deployment issues, but that was due to not including all required test<br>&gt; dependencies).&nbsp;&nbsp;I&#39;ve since run into what looks to be a known issue with<br>&gt; commons logging.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Is there a working JSFUnit Maven project that tests with a container
<br>&gt; available for download?<br>&gt;<br>&gt;<br>&gt;<br>&gt; The commons-logging issue is documented here:<br>&gt; <a href="http://www.qos.ch/logging/classloader.jsp">http://www.qos.ch/logging/classloader.jsp</a>.<br>
&gt;<br>&gt;<br>&gt;<br>&gt; Caused by: org.apache.commons.logging.LogConfigurationException: No<br>&gt; suitable Log<br>&gt;<br>&gt;&nbsp;&nbsp;constructor [Ljava.lang.Class;@127e4be for<br>&gt; org.apache.commons.logging.impl.Log4
<br>&gt;<br>&gt; JLogger (Caused by java.lang.NoClassDefFoundError:<br>&gt; org/apache/log4j/Category)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br>&gt; org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF<br>&gt;<br>&gt; 
actoryImpl.java:413)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br>&gt; org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory<br>&gt;<br>&gt; Impl.java:529)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 33 more<br>&gt;<br>&gt; Caused by: java.lang.NoClassDefFoundError
: org/apache/log4j/Category<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Class.getDeclaredConstructors0(Native Method)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
java.lang.Class.getConstructor0(Class.java:2699)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Class.getConstructor(Class.java:1657)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br>&gt; org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogF<br>&gt;<br>&gt; actoryImpl.java:410)<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 34 more<br>&gt;<br>&gt;<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt;<br>&gt;<br>&gt; Tom<br>&gt;<br>&gt; This e-mail message, including any attachments, is for the sole use of
<br>&gt; the intended recipient(s) and may contain confidential and privileged<br>&gt; information that is protected from disclosure. Any unauthorized review,<br>&gt; use, disclosure or distribution is prohibited. If you are not the
<br>&gt; intended recipient, please contact the sender by reply e-mail and<br>&gt; destroy all copies of the original message and any attachments.&nbsp;&nbsp;This<br>&gt; document was not intended or written to be used, and it cannot be used,
<br>&gt; for the purposes of avoiding U.S. federal, state, or local tax or tax<br>&gt; penalties.<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; jsfunit-dev mailing list<br>&gt; <a href="mailto:jsfunit-dev@lists.jboss.org">jsfunit-dev@lists.jboss.org</a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/jsfunit-dev">https://lists.jboss.org/mailman/listinfo/jsfunit-dev
</a><br><br>_______________________________________________<br>jsfunit-dev mailing list<br><a href="mailto:jsfunit-dev@lists.jboss.org">jsfunit-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/jsfunit-dev">
https://lists.jboss.org/mailman/listinfo/jsfunit-dev</a><br><br><br><br>_______________________________________________<br>jsfunit-dev mailing list<br><a href="mailto:jsfunit-dev@lists.jboss.org">jsfunit-dev@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/jsfunit-dev">https://lists.jboss.org/mailman/listinfo/jsfunit-dev</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Dennis Byrne