[1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException

View: New views
5 Messages — Rating Filter:   Alert me  

[1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException

by Paul Spencer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: [1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException

by Gary%20VanMatre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



>From: Paul Spencer
>To: dev@...
>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  
>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.(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


Re: [1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException

by Greg Reddin-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Dec 9, 2008 at 6:20 AM, Paul Spencer <paulsp@...> wrote:

> 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?

I don't have an answer for you but I will verify that I experience the
same problem.

Greg

Splitting shale-test into JSF specific projects (was Re: [1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException)

by Paul Spencer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Dec 9, 2008, at 1:08 PM, Gary%20VanMatre wrote:

>
>
<snip>
> 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
>

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

Re: Splitting shale-test into JSF specific projects (was Re: [1.1.0] Testing of Shale-Core fails due to missing ViewExpiredException)

by Gary%20VanMatre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



>From: Paul Spencer
>To: dev@...
>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)
>
>
>On Dec 9, 2008, at 1:08 PM, Gary%20VanMatre wrote:
>
>>
>>
>
>> 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
>>
>
>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