Re: Removing Tiles

2008-02-20 Thread Wendy Smoak
On Wed, Feb 20, 2008 at 12:01 PM, Greg Reddin [EMAIL PROTECTED] wrote:
 To get rid of the Tiles modules do you think it is sufficient to
  simply remove the references from the POM or should we delete or move
  the svn tree as well?

Move the svn tree (do we have a sandbox?) and remove the module from
the top level pom.

The assemblies will also need to be fixed as they will be expecting to
find the source code, website, etc.

Just comment on the JIRA issue with what you've done so far, and
someone else can jump in to fix the rest. :)

-- 
Wendy


Test Failure

2008-02-20 Thread Greg Reddin
When I try to build shale at the root level (i.e. building all
subprojects) I get an error trying to build shale-core. It throws a
NoClassDefFoundError on ViewExpiredException (see error below). It
appears I'm somehow using a JSF 1.1 implementation. How should I go
about building with a JSF 1.2? I'm on Mac OSX Tiger so I figured the
jdk 1.5 profile would fire.

Thanks,
Greg

Error messages:

---
 T E S T S
---
Running org.apache.shale.util.TokenProcessorTestCase
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.703
sec  FAILURE!
Running org.apache.shale.util.ConverterHelperTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094
sec  FAILURE!
Running org.apache.shale.util.MessagesTestCase
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.135
sec  FAILURE!
Running org.apache.shale.util.LoadBundleTestCase
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.127
sec  FAILURE!

Results :

Tests in error:
  testPristine(org.apache.shale.util.TokenProcessorTestCase)
  testMultiple(org.apache.shale.util.TokenProcessorTestCase)
  testMessagePropertyOverride(org.apache.shale.util.TokenProcessorTestCase)
  
testMessageFacesConfigBundleOverride(org.apache.shale.util.TokenProcessorTestCase)
  testMessageDefault(org.apache.shale.util.TokenProcessorTestCase)
  testNullViewRoot(org.apache.shale.util.ConverterHelperTestCase)
  testEngish(org.apache.shale.util.MessagesTestCase)
  testFrench(org.apache.shale.util.MessagesTestCase)
  testPristine(org.apache.shale.util.MessagesTestCase)
  testEngish(org.apache.shale.util.LoadBundleTestCase)
  testFrench(org.apache.shale.util.LoadBundleTestCase)
  testPristine(org.apache.shale.util.LoadBundleTestCase)

Tests run: 12, Failures: 0, Errors: 12, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

One of the surefire reports has this:

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)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:138)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107)
at 
org.apache.shale.test.base.AbstractJsfTestCase.setUp(AbstractJsfTestCase.java:125)
at 
org.apache.shale.util.TokenProcessorTestCase.setUp(TokenProcessorTestCase.java:61)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)


Re: Test Failure

2008-02-20 Thread Greg Reddin
On Wed, Feb 20, 2008 at 4:37 PM, Greg Reddin [EMAIL PROTECTED] wrote:
 When I try to build shale at the root level (i.e. building all
  subprojects) I get an error trying to build shale-core. It throws a
  NoClassDefFoundError on ViewExpiredException (see error below). It
  appears I'm somehow using a JSF 1.1 implementation. How should I go
  about building with a JSF 1.2? I'm on Mac OSX Tiger so I figured the
  jdk 1.5 profile would fire.


I can't build the 1_0_x tree either. The validator test fails because
it seems to not be loading TestBundle.properties for whatever reason.
Has anybody experienced that issue?

testMessage(org.apache.shale.validator.converter.AbstractConverterTestCase)
 Time elapsed: 0.179 sec   FAILURE!
junit.framework.ComparisonFailure: expected:Custom Long Error
Message but was:???errors.long???
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at 
org.apache.shale.validator.converter.AbstractConverterTestCase.testMessage(AbstractConverterTestCase.java:110)

Thanks,
Greg