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

2008-12-09 Thread Paul Spencer
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

2008-12-09 Thread Gary%20VanMatre


From: Paul Spencer 
To: dev@shale.apache.org
Sent: Tue, 9 Dec 2008 12:20:44 + (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

2008-12-09 Thread Greg Reddin
On Tue, Dec 9, 2008 at 6:20 AM, Paul Spencer [EMAIL PROTECTED] 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