Java 6 is backwards compatible with Java 5, so it should have no effect on the outcome of the the tests. 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> <<a href="mailto:Tom.Waterhouse@sabrix.com">Tom.Waterhouse@sabrix.com</a>> 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't see a requirement for the Java version in the instructions for building JSFUnit. I'm using Java 6 and did receive some unit test failures during the build. 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. 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>> I've followed the instructions posted for using Jetty as a test<br>> container in a Maven build (I had sent an email previously about
<br>> deployment issues, but that was due to not including all required test<br>> dependencies). I've since run into what looks to be a known issue with<br>> commons logging.<br>><br>><br>><br>> Is there a working JSFUnit Maven project that tests with a container
<br>> available for download?<br>><br>><br>><br>> The commons-logging issue is documented here:<br>> <a href="http://www.qos.ch/logging/classloader.jsp">http://www.qos.ch/logging/classloader.jsp</a>.<br>
><br>><br>><br>> Caused by: org.apache.commons.logging.LogConfigurationException: No<br>> suitable Log<br>><br>> constructor [Ljava.lang.Class;@127e4be for<br>> org.apache.commons.logging.impl.Log4
<br>><br>> JLogger (Caused by java.lang.NoClassDefFoundError:<br>> org/apache/log4j/Category)<br>><br>> at<br>> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF<br>><br>>
actoryImpl.java:413)<br>><br>> at<br>> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory<br>><br>> Impl.java:529)<br>><br>> ... 33 more<br>><br>> Caused by: java.lang.NoClassDefFoundError
: org/apache/log4j/Category<br>><br>> at java.lang.Class.getDeclaredConstructors0(Native Method)<br>><br>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)<br>><br>> at
java.lang.Class.getConstructor0(Class.java:2699)<br>><br>> at java.lang.Class.getConstructor(Class.java:1657)<br>><br>> at<br>> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogF<br>><br>> actoryImpl.java:410)<br>><br>> ... 34 more<br>><br>><br>><br>> Thanks,<br>><br>><br>><br>> Tom<br>><br>> This e-mail message, including any attachments, is for the sole use of
<br>> the intended recipient(s) and may contain confidential and privileged<br>> information that is protected from disclosure. Any unauthorized review,<br>> use, disclosure or distribution is prohibited. If you are not the
<br>> intended recipient, please contact the sender by reply e-mail and<br>> destroy all copies of the original message and any attachments. This<br>> document was not intended or written to be used, and it cannot be used,
<br>> for the purposes of avoiding U.S. federal, state, or local tax or tax<br>> penalties.<br>><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>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