Discussion:
[1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException
Paul Spencer
2008-12-09 12:20:44 UTC
Permalink
I am building Shale 1.1.0-SNAPSHOT with JDK 1.5.0_16-b06-284. The test
on Shale-Core are failing with the following error:

testPristine(org.apache.shale.util.TokenProcessorTestCase) Time
elapsed: 0.038 sec <<< ERROR!
java.lang.NoClassDefFoundError: javax/faces/application/
ViewExpiredException
at
org
.apache
.shale.test.mock.lifecycle.MockLifecycle.<init>(MockLifecycle.java:52)
at
org
.apache
.shale
.test
.mock.lifecycle.MockLifecycleFactory.<init>(MockLifecycleFactory.java:
45)

The test for Shale-Core uses JSF 1.1. I suspect that Shale-Test is
expecting a JSF 1.2 implementation and failing since 1.1 is used.

Ideas?

Paul Spencer
Gary%20VanMatre
2008-12-09 18:08:08 UTC
Permalink
From: Paul Spencer
Sent: Tue, 9 Dec 2008 12:20:44 +0000 (UTC)
Subject: [1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException
I am building Shale 1.1.0-SNAPSHOT with JDK 1.5.0_16-b06-284. The test  
.
testPristine(org.apache.shale.util.TokenProcessorTestCase)  Time  
elapsed: 0.038 sec  <<< ERROR!
java.lang.NoClassDefFoundError: javax/faces/application/
ViewExpiredException
        at  
org
.apache
.shale.test.mock.lifecycle.MockLifecycle.(MockLifecycle.java:52)
        at  
org .apache .shale .test .mock.lifecycle.MockLifecycleFactory.(MockLifecycleFactory.java: 45)
The test for Shale-Core uses JSF 1.1. I suspect that Shale-Test is  
expecting a JSF 1.2 implementation and failing since 1.1 is used.
Ideas?
I was thinking that we might need to break JSF 1.1 and 1.2 support into two projects so that we could better configure the dependencies and binaries.  If we did that, we could still have JSF 1.2 test build on JSF 1.1 test.  That might make the release simpler too?
Paul Spencer
Gary
Paul Spencer
2008-12-10 10:45:47 UTC
Permalink
On Dec 9, 2008, at 1:08 PM, Gary%20VanMatre wrote:
<snip>
Post by Gary%20VanMatre
I was thinking that we might need to break JSF 1.1 and 1.2 support
into two projects so that we could better configure the dependencies
and binaries. If we did that, we could still have JSF 1.2 test
build on JSF 1.1 test. That might make the release simpler too?
Post by Paul Spencer
Paul Spencer
Gary
Are you suggesting the following project layout?

shale-test
shale-test-common - Build using using JDK 1.4
shale-test-jsf1_1 - Build using JDK 1.4
shale-test-jsf1_2 - Build using JDK 1.5


Paul Spencer
Gary%20VanMatre
2008-12-10 15:38:01 UTC
Permalink
From: Paul Spencer
Sent: Wed, 10 Dec 2008 10:45:47 +0000 (UTC)
Subject: Splitting shale-test into JSF specific projects (was Re: [1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException)
I was thinking that we might need to break JSF 1.1 and 1.2 support  
into two projects so that we could better configure the dependencies  
and binaries.  If we did that, we could still have JSF 1.2 test  
build on JSF 1.1 test.  That might make the release simpler too?
Post by Paul Spencer
Paul Spencer
Gary
Are you suggesting the following project layout?
  shale-test
    shale-test-common - Build using using JDK 1.4
    shale-test-jsf1_1 - Build using JDK 1.4
    shale-test-jsf1_2 - Build using JDK 1.5
+1 That sounds good to me.  
Paul Spencer
Greg Reddin
2008-12-09 20:27:58 UTC
Permalink
I am building Shale 1.1.0-SNAPSHOT with JDK 1.5.0_16-b06-284. The test on
0.038 sec <<< ERROR!
java.lang.NoClassDefFoundError: javax/faces/application/ViewExpiredException
at
org.apache.shale.test.mock.lifecycle.MockLifecycle.<init>(MockLifecycle.java:52)
at
org.apache.shale.test.mock.lifecycle.MockLifecycleFactory.<init>(MockLifecycleFactory.java:45)
The test for Shale-Core uses JSF 1.1. I suspect that Shale-Test is expecting
a JSF 1.2 implementation and failing since 1.1 is used.
Ideas?
I don't have an answer for you but I will verify that I experience the
same problem.

Greg
Loading...