[seam/catch] 2167d0: Trying to get Catch to run on OWB
by noreply@github.com
Branch: refs/heads/develop
Home: https://github.com/seam/catch
Commit: 2167d0fa485fd3df4aba0c19dfba9a91d4e66511
https://github.com/seam/catch/commit/2167d0fa485fd3df4aba0c19dfba9a91d4e6...
Author: LightGuard <lightguard.jp(a)gmail.com>
Date: 2011-08-05 (Fri, 05 Aug 2011)
Changed paths:
M impl/pom.xml
A impl/src/test/java/org/jboss/seam/exception/control/test/BaseWebArchive.java
A impl/src/test/java/org/jboss/seam/exception/control/test/JBossAS7DeploymentExceptionTransformer.java
A impl/src/test/java/org/jboss/seam/exception/control/test/JBossAS7Extension.java
M impl/src/test/java/org/jboss/seam/exception/control/test/StackInfoTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/event/EventTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionErrorTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/flow/BreadthFirstAbortControlTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/flow/DepthAbortControlTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/flow/HandledExceptionHandlerTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandlerTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/flow/RethrowTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/flow/ThrowingNewExceptionTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/handler/CallingHandlersTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/handler/HandlerComparatorTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/handler/UnMuteHandlerTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/stack/ModifyExceptionStackTest.java
M impl/src/test/java/org/jboss/seam/exception/control/test/traversal/TraversalPathTest.java
A impl/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
A impl/src/test/resources/arquillian.xml
A impl/src/test/resources/settings.xml
Log Message:
-----------
Trying to get Catch to run on OWB
Commit: fdf664138943c28cc1baad9dbf1fc6e9303bbc9d
https://github.com/seam/catch/commit/fdf664138943c28cc1baad9dbf1fc6e9303b...
Author: LightGuard <lightguard.jp(a)gmail.com>
Date: 2011-08-05 (Fri, 05 Aug 2011)
Changed paths:
M impl/pom.xml
M impl/src/test/java/org/jboss/seam/exception/control/test/BaseWebArchive.java
Log Message:
-----------
More tweaking for owb
Commit: 350b312130855394c84ed75aaf00d2d2fe74c91d
https://github.com/seam/catch/commit/350b312130855394c84ed75aaf00d2d2fe74...
Author: LightGuard <lightguard.jp(a)gmail.com>
Date: 2011-08-06 (Sat, 06 Aug 2011)
Changed paths:
M api/pom.xml
M api/src/main/java/org/jboss/seam/exception/control/ExceptionStack.java
M api/src/main/java/org/jboss/seam/exception/control/ExceptionStackItem.java
M api/src/main/java/org/jboss/seam/exception/control/TraversalMode.java
A api/src/main/java/org/jboss/seam/exception/control/literal/CatchResourceLiteral.java
A api/src/test/java/org/jboss/seam/exception/control/ExceptionStackTest.java
A api/src/test/java/org/jboss/seam/exception/control/test/CaughtExceptionTest.java
M impl/pom.xml
R impl/src/test/java/org/jboss/seam/exception/control/test/BaseWebArchive.java
R impl/src/test/java/org/jboss/seam/exception/control/test/CaughtExceptionTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/JBossAS7DeploymentExceptionTransformer.java
R impl/src/test/java/org/jboss/seam/exception/control/test/JBossAS7Extension.java
R impl/src/test/java/org/jboss/seam/exception/control/test/StackInfoHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/StackInfoTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/event/EventQualifier.java
R impl/src/test/java/org/jboss/seam/exception/control/test/event/EventTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/event/literal/EventQualifierLiteral.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/Account.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/Arquillian.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/BleedingObject.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/CatchQualifier.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/DecoratorAsHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionErrorTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/InterceptorAsHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/PretendInterceptorBinding.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/StereotypedHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/literal/ArquillianLiteral.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/literal/CatchQualifierLiteral.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/AbortingBreadthFirstHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/AbortingDepthHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/BreadthFirstAbortControlTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/DepthAbortControlTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ExceptionHandledHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/HandledExceptionHandlerTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandlerTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/RethrowHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/RethrowTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ThrowingNewExceptionTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ThrowingNewHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/BadInjectionPointHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/CalledExceptionHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/CallingHandlersTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/ExtensionExceptionHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/HandlerComparatorTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/HandlerWhichThrowsExceptions.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/UnMuteHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/UnMuteHandlerTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/stack/ExceptionStackTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/stack/ModifyExceptionStackTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/traversal/ExceptionHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/traversal/Exceptions.java
R impl/src/test/java/org/jboss/seam/exception/control/test/traversal/TraversalPathTest.java
R impl/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
R impl/src/test/resources/arquillian.xml
R impl/src/test/resources/settings.xml
M pom.xml
A testsuite/common/pom.xml
A testsuite/common/src/main/java/org/jboss/seam/exception/control/test/BaseWebArchive.java
A testsuite/common/src/main/resources/arquillian.xml
A testsuite/common/src/main/resources/settings.xml
A testsuite/container-boms/jbossas-managed-7/pom.xml
A testsuite/container-boms/pom.xml
A testsuite/container-boms/weld-ee-embedded-1.1/pom.xml
A testsuite/internals/base/pom.xml
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/event/EventQualifier.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/event/EventTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/event/literal/EventQualifierLiteral.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/Account.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/Arquillian.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/BleedingObject.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/CatchQualifier.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/DecoratorAsHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/InterceptorAsHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/PretendInterceptorBinding.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/StereotypedHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/literal/ArquillianLiteral.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/literal/CatchQualifierLiteral.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/AbortingBreadthFirstHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/AbortingDepthHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/BreadthFirstAbortControlTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/DepthAbortControlTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ExceptionHandledHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/HandledExceptionHandlerTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandlerTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/RethrowHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/RethrowTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ThrowingNewExceptionTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ThrowingNewHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/BadInjectionPointHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/CalledExceptionHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/CallingHandlersTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/ExtensionExceptionHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/HandlerComparatorTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/HandlerWhichThrowsExceptions.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/UnMuteHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/UnMuteHandlerTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/stack/ModifyExceptionStackTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/traversal/ExceptionHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/traversal/Exceptions.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/traversal/TraversalPathTest.java
A testsuite/internals/jbossas/pom.xml
A testsuite/internals/jbossas/src/test/resources/arquillian.xml
A testsuite/internals/pom.xml
A testsuite/internals/weld-ee-embedded/pom.xml
A testsuite/internals/weld-ee-embedded/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionErrorTest.java
A testsuite/internals/weld-ee-embedded/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionTest.java
A testsuite/internals/weld-ee-embedded/src/test/resources/arquillian.xml
A testsuite/pom.xml
Log Message:
-----------
Converting over to the new testing structure
The structure is there, but the tests don't work, I'll have to talk to Ken or Aslak to see what's going on.
Commit: d3f05c439b5ef86afaf2237b96c350f11d96d262
https://github.com/seam/catch/commit/d3f05c439b5ef86afaf2237b96c350f11d96...
Author: LightGuard <lightguard.jp(a)gmail.com>
Date: 2011-08-08 (Mon, 08 Aug 2011)
Changed paths:
M testsuite/container-boms/jbossas-managed-7/pom.xml
M testsuite/container-boms/weld-ee-embedded-1.1/pom.xml
Log Message:
-----------
Fixing up included poms for the containers
Commit: d7d41018a92f2ce2eaa7fff7bcce9d707a629fba
https://github.com/seam/catch/commit/d7d41018a92f2ce2eaa7fff7bcce9d707a62...
Author: LightGuard <lightguard.jp(a)gmail.com>
Date: 2011-08-08 (Mon, 08 Aug 2011)
Changed paths:
M testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/HandlerComparatorTest.java
M testsuite/internals/jbossas/pom.xml
M testsuite/internals/weld-ee-embedded/pom.xml
Log Message:
-----------
Fixing up the tests.
Everything runs great on AS7 and embedded Weld.
Commit: 937268b37c6677bab4d00c9b547861a966ca0a84
https://github.com/seam/catch/commit/937268b37c6677bab4d00c9b547861a966ca...
Author: LightGuard <lightguard.jp(a)gmail.com>
Date: 2011-08-08 (Mon, 08 Aug 2011)
Changed paths:
M api/pom.xml
M api/src/main/java/org/jboss/seam/exception/control/ExceptionStack.java
M api/src/main/java/org/jboss/seam/exception/control/ExceptionStackItem.java
M api/src/main/java/org/jboss/seam/exception/control/TraversalMode.java
A api/src/main/java/org/jboss/seam/exception/control/literal/CatchResourceLiteral.java
A api/src/test/java/org/jboss/seam/exception/control/ExceptionStackTest.java
A api/src/test/java/org/jboss/seam/exception/control/test/CaughtExceptionTest.java
M impl/pom.xml
R impl/src/test/java/org/jboss/seam/exception/control/test/CaughtExceptionTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/StackInfoHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/StackInfoTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/event/EventQualifier.java
R impl/src/test/java/org/jboss/seam/exception/control/test/event/EventTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/event/literal/EventQualifierLiteral.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/Account.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/Arquillian.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/BleedingObject.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/CatchQualifier.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/DecoratorAsHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionErrorTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/InterceptorAsHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/PretendInterceptorBinding.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/StereotypedHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/literal/ArquillianLiteral.java
R impl/src/test/java/org/jboss/seam/exception/control/test/extension/literal/CatchQualifierLiteral.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/AbortingBreadthFirstHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/AbortingDepthHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/BreadthFirstAbortControlTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/DepthAbortControlTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ExceptionHandledHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/HandledExceptionHandlerTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandlerTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/RethrowHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/RethrowTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ThrowingNewExceptionTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/flow/ThrowingNewHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/BadInjectionPointHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/CalledExceptionHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/CallingHandlersTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/ExtensionExceptionHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/HandlerComparatorTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/HandlerWhichThrowsExceptions.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/UnMuteHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/handler/UnMuteHandlerTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/stack/ExceptionStackTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/stack/ModifyExceptionStackTest.java
R impl/src/test/java/org/jboss/seam/exception/control/test/traversal/ExceptionHandler.java
R impl/src/test/java/org/jboss/seam/exception/control/test/traversal/Exceptions.java
R impl/src/test/java/org/jboss/seam/exception/control/test/traversal/TraversalPathTest.java
M pom.xml
A testsuite/common/pom.xml
A testsuite/common/src/main/java/org/jboss/seam/exception/control/test/BaseWebArchive.java
A testsuite/common/src/main/resources/arquillian.xml
A testsuite/common/src/main/resources/settings.xml
A testsuite/container-boms/jbossas-managed-7/pom.xml
A testsuite/container-boms/pom.xml
A testsuite/container-boms/weld-ee-embedded-1.1/pom.xml
A testsuite/internals/base/pom.xml
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/event/EventQualifier.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/event/EventTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/event/literal/EventQualifierLiteral.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/Account.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/Arquillian.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/BleedingObject.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/CatchQualifier.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/DecoratorAsHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/InterceptorAsHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/PretendInterceptorBinding.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/StereotypedHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/literal/ArquillianLiteral.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/extension/literal/CatchQualifierLiteral.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/AbortingBreadthFirstHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/AbortingDepthHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/BreadthFirstAbortControlTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/DepthAbortControlTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ExceptionHandledHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/HandledExceptionHandlerTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ProceedCauseHandlerTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/RethrowHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/RethrowTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ThrowingNewExceptionTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/flow/ThrowingNewHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/BadInjectionPointHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/CalledExceptionHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/CallingHandlersTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/ExtensionExceptionHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/HandlerComparatorTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/HandlerWhichThrowsExceptions.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/UnMuteHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/handler/UnMuteHandlerTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/stack/ModifyExceptionStackTest.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/traversal/ExceptionHandler.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/traversal/Exceptions.java
A testsuite/internals/base/src/main/java/org/jboss/seam/exception/control/test/traversal/TraversalPathTest.java
A testsuite/internals/jbossas/pom.xml
A testsuite/internals/jbossas/src/test/resources/arquillian.xml
A testsuite/internals/pom.xml
A testsuite/internals/weld-ee-embedded/pom.xml
A testsuite/internals/weld-ee-embedded/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionErrorTest.java
A testsuite/internals/weld-ee-embedded/src/test/java/org/jboss/seam/exception/control/test/extension/ExtensionTest.java
A testsuite/internals/weld-ee-embedded/src/test/resources/arquillian.xml
A testsuite/pom.xml
Log Message:
-----------
Merge branch 'feature/SEAMCATCH-59' into develop
Compare: https://github.com/seam/catch/compare/74df8fa...937268b
13 years, 3 months
Seam SVN: r14144 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: jharting
Date: 2011-08-08 07:19:20 -0400 (Mon, 08 Aug 2011)
New Revision: 14144
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml
Log:
JBSEAM-4579
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml
===================================================================
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml 2011-08-08 10:58:36 UTC (rev 14143)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml 2011-08-08 11:19:20 UTC (rev 14144)
@@ -260,7 +260,7 @@
Then the pattern mapped in <literal>web.xml</literal> for the <literal>SeamResourceServlet</literal>,
e.g <literal>/seam/resource</literal> if you follow the common examples, is appended.
Change this setting to expose your RESTful resources under a different base.
- Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal>)
+ Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal> and <literal>s:captcha</literal>)
are then also served under that base path.
</para>
</listitem>
@@ -268,8 +268,8 @@
<para>
The RESTEasy integration for Seam then appends a configurable string to the base path, by default
this is <literal>/rest</literal>. Hence, the full base path of your resources would e.g. be
- <literal>/myapp/seam/resource/rest</literal>. We recommend that you change this string in your application,
- you could for example add a version number to prepare for a future REST API upgrade of your services
+ <literal>/myapp/seam/resource/rest</literal>. We recommend that you change this string in your application (details below).
+ You could for example add a version number to prepare for a future REST API upgrade of your services
(old clients would keep the old URI base): <literal>/myapp/seam/resource/restv1</literal>.
</para>
</listitem>
@@ -300,9 +300,9 @@
}]]></programlisting>
<para>
- No additional configuration is required, you do not have to edit <literal>web.xml</literal> or any
- other setting if these defauls are acceptable. However, you can configure RESTEasy in your Seam application.
- First import the <literal>resteasy</literal> namespace into your XML configuration file header:
+ No additional configuration is required; you do not have to edit <literal>web.xml</literal> or any
+ other setting if these defaults are acceptable. However, you can configure RESTEasy in your Seam application.
+ First import the <literal>resteasy</literal> namespace into your XML configuration (<literal>components.xml</literal>) file header:
</para>
<programlisting role="XML"><![CDATA[<components
13 years, 3 months
Seam SVN: r14143 - in branches/community/Seam_2_3/jboss-seam/src: test/java/org/jboss/seam/test/unit and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-08-08 06:58:36 -0400 (Mon, 08 Aug 2011)
New Revision: 14143
Modified:
branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/framework/Query.java
branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/QueryTest.java
Log:
JBSEAM-4694 fixed query subject pattern to allow DISTINCT in getCountEjbql
Modified: branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/framework/Query.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/framework/Query.java 2011-08-08 08:53:39 UTC (rev 14142)
+++ branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/framework/Query.java 2011-08-08 10:58:36 UTC (rev 14143)
@@ -28,7 +28,7 @@
public abstract class Query<T, E>
extends PersistenceController<T> //TODO: extend MutableController!
{
- private static final Pattern SUBJECT_PATTERN = Pattern.compile("^select\\s+(\\w+(?:\\s*\\.\\s*\\w+)*?)(?:\\s*,\\s*(\\w+(?:\\s*\\.\\s*\\w+)*?))*?\\s+from", Pattern.CASE_INSENSITIVE);
+ private static final Pattern SUBJECT_PATTERN = Pattern.compile("^select\\s+((distinct)?\\s?\\w+(?:\\s*\\.\\s*\\w+)?)(?:\\s,\\s*(\\w+(?:\\s*\\.\\s*\\w+)?))?\\s+from", Pattern.CASE_INSENSITIVE);
private static final Pattern FROM_PATTERN = Pattern.compile("(^|\\s)(from)\\s", Pattern.CASE_INSENSITIVE);
private static final Pattern WHERE_PATTERN = Pattern.compile("\\s(where)\\s", Pattern.CASE_INSENSITIVE);
private static final Pattern ORDER_PATTERN = Pattern.compile("\\s(order)(\\s)+by\\s", Pattern.CASE_INSENSITIVE);
Modified: branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/QueryTest.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/QueryTest.java 2011-08-08 08:53:39 UTC (rev 14142)
+++ branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/QueryTest.java 2011-08-08 10:58:36 UTC (rev 14143)
@@ -30,7 +30,16 @@
query.parseEjbql();
// TODO this should eventually become count(p)
assertEquals(query.getCountEjbql(), "select count(*) from Person p");
-
+
+ // trying to reproduce bug JBSEAM-4694
+ query.setUseWildcardAsCountQuerySubject(false);
+ query.setEjbql("select distinct p from Person p");
+ query.setOrderColumn("username");
+ query.parseEjbql();
+ // TODO this should eventually become count(p)
+ assertEquals(query.getCountEjbql(), "select count(distinct p) from Person p");
+ query.setUseWildcardAsCountQuerySubject(true);
+
query.setEjbql("select v from Vehicle v join fetch v.person");
query.setOrderColumn("make");
query.parseEjbql();
@@ -46,7 +55,8 @@
query.parseEjbql();
assertEquals(query.getCountEjbql(), "select count(*) from Vehicle v");
- query = new CompliantUnitQuery();
+// query = new CompliantUnitQuery();
+ query.setUseWildcardAsCountQuerySubject(false);
query.setEjbql("select p from Person p");
query.parseEjbql();
assertEquals(query.getCountEjbql(), "select count(p) from Person p");
@@ -71,14 +81,19 @@
{
return super.getCountEjbql();
}
-
- }
- class CompliantUnitQuery extends UnitQuery {
-
- public CompliantUnitQuery() {
- setUseWildcardAsCountQuerySubject(false);
+ /** Making setter method accessible for reproducing JBSEAM-4694. */
+ public void setUseWildcardAsCountQuerySubject(boolean useCompliantCountQuerySubject) {
+ super.setUseWildcardAsCountQuerySubject(useCompliantCountQuerySubject);
}
}
+
+// class CompliantUnitQuery extends UnitQuery {
+//
+// public CompliantUnitQuery() {
+// setUseWildcardAsCountQuerySubject(false);
+// }
+//
+// }
}
13 years, 3 months
Seam SVN: r14142 - branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: jharting
Date: 2011-08-08 04:53:39 -0400 (Mon, 08 Aug 2011)
New Revision: 14142
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml
Log:
JBSEAM-4579
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml 2011-07-29 19:13:27 UTC (rev 14141)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml 2011-08-08 08:53:39 UTC (rev 14142)
@@ -260,7 +260,7 @@
Then the pattern mapped in <literal>web.xml</literal> for the <literal>SeamResourceServlet</literal>,
e.g <literal>/seam/resource</literal> if you follow the common examples, is appended.
Change this setting to expose your RESTful resources under a different base.
- Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal>)
+ Note that this is a global change and other Seam resources (e.g. <literal>s:graphicImage</literal> and <literal>s:captcha</literal>)
are then also served under that base path.
</para>
</listitem>
@@ -268,8 +268,8 @@
<para>
The RESTEasy integration for Seam then appends a configurable string to the base path, by default
this is <literal>/rest</literal>. Hence, the full base path of your resources would e.g. be
- <literal>/myapp/seam/resource/rest</literal>. We recommend that you change this string in your application,
- you could for example add a version number to prepare for a future REST API upgrade of your services
+ <literal>/myapp/seam/resource/rest</literal>. We recommend that you change this string in your application (details below).
+ You could for example add a version number to prepare for a future REST API upgrade of your services
(old clients would keep the old URI base): <literal>/myapp/seam/resource/restv1</literal>.
</para>
</listitem>
@@ -300,9 +300,9 @@
}]]></programlisting>
<para>
- No additional configuration is required, you do not have to edit <literal>web.xml</literal> or any
- other setting if these defauls are acceptable. However, you can configure RESTEasy in your Seam application.
- First import the <literal>resteasy</literal> namespace into your XML configuration file header:
+ No additional configuration is required; you do not have to edit <literal>web.xml</literal> or any
+ other setting if these defaults are acceptable. However, you can configure RESTEasy in your Seam application.
+ First import the <literal>resteasy</literal> namespace into your XML configuration (<literal>components.xml</literal>) file header:
</para>
<programlisting role="XML"><![CDATA[<components
13 years, 3 months