A new year seems to have yielded new results.  The build succeeded.  I noticed that the GA version of RichFaces was downloaded, as well as other dependencies.  Perhaps that had something to do with the results.

 


From: jsfunit-dev-bounces@lists.jboss.org [mailto:jsfunit-dev-bounces@lists.jboss.org] On Behalf Of Dennis Byrne
Sent: Thursday, December 27, 2007 2:49 PM
To: JSFUnit -Dev List
Subject: Re: [jsfunit-dev] Maven, Jetty, and commons-logging issue

 

Java 6 is backwards compatible with Java 5, so it should have no effect on the outcome of the the tests.  Which tests failed?

Dennis Byrne

On 12/27/07, Tom Waterhouse <Tom.Waterhouse@sabrix.com> wrote:

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?


________________________________

From: jsfunit-dev-bounces@lists.jboss.org on behalf of Stan Silvert
Sent: Thu 12/27/2007 12:16 PM
To: JSFUnit -Dev List
Subject: Re: [jsfunit-dev] Maven, Jetty, and commons-logging issue



Hi Tom,

If you checkout and build JSFUnit from scratch you can run its Maven
build and automatically test several sample applications using Jetty,
Tomcat 5.5, or JBoss 4.0.5.  The default is to use Jetty since that is
the default container for Cargo.

See details here:
http://labs.jboss.com/jsfunit/source-repository.html
http://labs.jboss.com/jsfunit/building-jsfunit.html

Hope that helps,

Stan

Tom Waterhouse wrote:
> I've followed the instructions posted for using Jetty as a test
> container in a Maven build (I had sent an email previously about
> deployment issues, but that was due to not including all required test
> dependencies).  I've since run into what looks to be a known issue with
> commons logging.
>
>
>
> Is there a working JSFUnit Maven project that tests with a container
> available for download?
>
>
>
> The commons-logging issue is documented here:
> http://www.qos.ch/logging/classloader.jsp.
>
>
>
> Caused by: org.apache.commons.logging.LogConfigurationException: No
> suitable Log
>
>  constructor [Ljava.lang.Class;@127e4be for
> org.apache.commons.logging.impl.Log4
>
> JLogger (Caused by java.lang.NoClassDefFoundError:
> org/apache/log4j/Category)
>
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
>
> actoryImpl.java:413)
>
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
>
> Impl.java:529)
>
>         ... 33 more
>
> Caused by: java.lang.NoClassDefFoundError : org/apache/log4j/Category
>
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
>
>         at java.lang.Class.getConstructor0(Class.java:2699)
>
>         at java.lang.Class.getConstructor(Class.java:1657)
>
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (LogF
>
> actoryImpl.java:410)
>
>         ... 34 more
>
>
>
> Thanks,
>
>
>
> Tom
>
> This e-mail message, including any attachments, is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information that is protected from disclosure. Any unauthorized review,
> use, disclosure or distribution is prohibited. If you are not the
> intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message and any attachments.  This
> document was not intended or written to be used, and it cannot be used,
> for the purposes of avoiding U.S. federal, state, or local tax or tax
> penalties.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jsfunit-dev mailing list
> jsfunit-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jsfunit-dev

_______________________________________________
jsfunit-dev mailing list
jsfunit-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jsfunit-dev



_______________________________________________
jsfunit-dev mailing list
jsfunit-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jsfunit-dev




--
Dennis Byrne

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information that is protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and any attachments.  This document was not intended or written to be used, and it cannot be used, for the purposes of avoiding U.S. federal, state, or local tax or tax penalties.