[seam/persistence] a9e012: testsuite structure update
by noreply@github.com
Branch: refs/heads/develop
Home: https://github.com/seam/persistence
Commit: a9e0126122f46a1552aeb00829ffe5ae50b8737b
https://github.com/seam/persistence/commit/a9e0126122f46a1552aeb00829ffe5...
Author: Marek Schmidt <maschmid(a)redhat.com>
Date: 2011-11-02 (Wed, 02 Nov 2011)
Changed paths:
M pom.xml
M readme.txt
R tests/base/pom.xml
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/HibernateSearchTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionELTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionFlushModeTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/EntityInjectionTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/HibernateSearchTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextCreatedEventTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextELTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextFlushModeTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ArtifactNames.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/DontRollBackException.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/EntityManagerProvider.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/HelloService.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/Hotel.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/HotelNameProducer.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/IndexedHotel.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ManagedHibernateSessionProvider.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextObserver.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextProvider.java
R tests/jbossas-hibernate/pom.xml
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/EntityInjectionTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/JBossASHibernateSearchTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/JNDIManagedPersistenceContextTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextCreatedEventTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextELTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/util/JBossASTestUtils.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/util/JNDIManagedPersistenceContextProvider.java
R tests/jbossas-hibernate/src/test/resources-jbossas/jndi.properties
R tests/jbossas-hibernate/src/test/resources-jbossas/seam-transactions-test-ds.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/orm.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/persistence-orm.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/persistence-search.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/persistence.xml
R tests/jbossas-hibernate/src/test/resources/arquillian.xml
R tests/jetty-hibernate/pom.xml
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionELTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionFlushModeTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionSearchTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/HibernateSearchTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextCreatedEventTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextELTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextFlushModeTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/util/JettyTestUtils.java
R tests/jetty-hibernate/src/test/resources/META-INF/hibernate-seam-beans.xml
R tests/jetty-hibernate/src/test/resources/META-INF/hibernate-search.cfg.xml
R tests/jetty-hibernate/src/test/resources/META-INF/hibernate-std.cfg.xml
R tests/jetty-hibernate/src/test/resources/META-INF/jpa-seam-beans.xml
R tests/jetty-hibernate/src/test/resources/META-INF/orm.xml
R tests/jetty-hibernate/src/test/resources/META-INF/persistence-orm.xml
R tests/jetty-hibernate/src/test/resources/META-INF/persistence-search.xml
R tests/jetty-hibernate/src/test/resources/META-INF/persistence-std.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/beans-transaction-interceptor.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/beans.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/hibernate-beans.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/jetty-env.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/web.xml
R tests/jetty-hibernate/src/test/resources/arquillian.xml
R tests/jetty-openjpa/pom.xml
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextCreatedEventTest.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextELTest.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextTest.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/util/JettyTestUtils.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/util/SeamMetaDataFactory.java
R tests/jetty-openjpa/src/test/resources/META-INF/orm.xml
R tests/jetty-openjpa/src/test/resources/META-INF/persistence-orm.xml
R tests/jetty-openjpa/src/test/resources/META-INF/persistence-std.xml
R tests/jetty-openjpa/src/test/resources/META-INF/seam-beans.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/beans-transaction-interceptor.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/beans.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/jetty-env.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/web.xml
R tests/jetty-openjpa/src/test/resources/arquillian.xml
A testsuite/pom.xml
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/HibernateSearchTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionELTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionFlushModeTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionFlushModeTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionSearchTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/EntityInjectionTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/HibernateSearchTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextCreatedEventTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextELTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextFlushModeTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/EntityInjectionTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/JBossASHibernateSearchTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/JNDIManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextCreatedEventTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/HibernateSearchTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextCreatedEventTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextFlushModeTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/util/JettyTestUtils.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextCreatedEventTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/util/JettyTestUtils.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/util/SeamMetaDataFactory.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ArtifactNames.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/DontRollBackException.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/EntityManagerProvider.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/HelloService.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/Hotel.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/HotelNameProducer.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/IndexedHotel.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/JBossASTestUtils.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/JNDIManagedPersistenceContextProvider.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ManagedHibernateSessionProvider.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextObserver.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextProvider.java
A testsuite/src/test/resources-jbossas-7/META-INF/orm.xml
A testsuite/src/test/resources-jbossas-7/META-INF/persistence-orm.xml
A testsuite/src/test/resources-jbossas-7/META-INF/persistence-search.xml
A testsuite/src/test/resources-jbossas-7/META-INF/persistence.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-seam-beans.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-search.cfg.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-std.cfg.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/jpa-seam-beans.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/orm.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-orm.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-search.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-std.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/beans-transaction-interceptor.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/beans.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/hibernate-beans.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/jetty-env.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/web.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/orm.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/persistence-orm.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/persistence-std.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/seam-beans.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/beans-transaction-interceptor.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/beans.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/jetty-env.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/web.xml
A testsuite/src/test/resources/arquillian.xml
Log Message:
-----------
testsuite structure update
Commit: 14ef264927f47e451a42c9af73c281a02683107b
https://github.com/seam/persistence/commit/14ef264927f47e451a42c9af73c281...
Author: Marek Schmidt <maschmid(a)redhat.com>
Date: 2011-11-02 (Wed, 02 Nov 2011)
Changed paths:
M impl/pom.xml
M pom.xml
M testsuite/pom.xml
M testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/JBossASHibernateSearchTest.java
M testsuite/src/test/java/org/jboss/seam/persistence/test/util/JBossASTestUtils.java
M testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-search.cfg.xml
M testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-std.cfg.xml
M testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-orm.xml
M testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-search.xml
M testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-std.xml
Log Message:
-----------
use hibernate versions from seam-bom, cleanup
Commit: 439a831a45f44850e0985d3ba9eff16445213f69
https://github.com/seam/persistence/commit/439a831a45f44850e0985d3ba9eff1...
Author: Jason Porter <lightguard.jp(a)gmail.com>
Date: 2011-11-07 (Mon, 07 Nov 2011)
Changed paths:
M impl/pom.xml
M pom.xml
M readme.txt
R tests/base/pom.xml
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/HibernateSearchTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionELTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionFlushModeTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/EntityInjectionTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/HibernateSearchTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextCreatedEventTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextELTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextFlushModeTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/ManagedPersistenceContextTestBase.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ArtifactNames.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/DontRollBackException.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/EntityManagerProvider.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/HelloService.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/Hotel.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/HotelNameProducer.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/IndexedHotel.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ManagedHibernateSessionProvider.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextObserver.java
R tests/base/src/main/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextProvider.java
R tests/jbossas-hibernate/pom.xml
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/EntityInjectionTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/JBossASHibernateSearchTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/JNDIManagedPersistenceContextTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextCreatedEventTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextELTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextTest.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/util/JBossASTestUtils.java
R tests/jbossas-hibernate/src/test/java/org/jboss/seam/persistence/test/util/JNDIManagedPersistenceContextProvider.java
R tests/jbossas-hibernate/src/test/resources-jbossas/jndi.properties
R tests/jbossas-hibernate/src/test/resources-jbossas/seam-transactions-test-ds.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/orm.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/persistence-orm.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/persistence-search.xml
R tests/jbossas-hibernate/src/test/resources/META-INF/persistence.xml
R tests/jbossas-hibernate/src/test/resources/arquillian.xml
R tests/jetty-hibernate/pom.xml
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionELTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionFlushModeTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionSearchTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/HibernateSearchTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextCreatedEventTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextELTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextFlushModeTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextTest.java
R tests/jetty-hibernate/src/test/java/org/jboss/seam/persistence/test/jetty/util/JettyTestUtils.java
R tests/jetty-hibernate/src/test/resources/META-INF/hibernate-seam-beans.xml
R tests/jetty-hibernate/src/test/resources/META-INF/hibernate-search.cfg.xml
R tests/jetty-hibernate/src/test/resources/META-INF/hibernate-std.cfg.xml
R tests/jetty-hibernate/src/test/resources/META-INF/jpa-seam-beans.xml
R tests/jetty-hibernate/src/test/resources/META-INF/orm.xml
R tests/jetty-hibernate/src/test/resources/META-INF/persistence-orm.xml
R tests/jetty-hibernate/src/test/resources/META-INF/persistence-search.xml
R tests/jetty-hibernate/src/test/resources/META-INF/persistence-std.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/beans-transaction-interceptor.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/beans.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/hibernate-beans.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/jetty-env.xml
R tests/jetty-hibernate/src/test/resources/WEB-INF/web.xml
R tests/jetty-hibernate/src/test/resources/arquillian.xml
R tests/jetty-openjpa/pom.xml
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextCreatedEventTest.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextELTest.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextTest.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/util/JettyTestUtils.java
R tests/jetty-openjpa/src/test/java/org/jboss/seam/persistence/test/openjpa/util/SeamMetaDataFactory.java
R tests/jetty-openjpa/src/test/resources/META-INF/orm.xml
R tests/jetty-openjpa/src/test/resources/META-INF/persistence-orm.xml
R tests/jetty-openjpa/src/test/resources/META-INF/persistence-std.xml
R tests/jetty-openjpa/src/test/resources/META-INF/seam-beans.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/beans-transaction-interceptor.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/beans.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/jetty-env.xml
R tests/jetty-openjpa/src/test/resources/WEB-INF/web.xml
R tests/jetty-openjpa/src/test/resources/arquillian.xml
A testsuite/pom.xml
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/HibernateSearchTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionELTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionFlushModeTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/ManagedHibernateSessionTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionFlushModeTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionSearchTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/hibernate/test/jetty/ManagedHibernateSessionTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/EntityInjectionTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/HibernateSearchTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextCreatedEventTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextELTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextFlushModeTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/ManagedPersistenceContextTestBase.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/EntityInjectionTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/JBossASHibernateSearchTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/JNDIManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextCreatedEventTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jboss/ManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/HibernateSearchTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextCreatedEventTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextFlushModeTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/ManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/jetty/util/JettyTestUtils.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextCreatedEventTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextELTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/ManagedPersistenceContextTest.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/util/JettyTestUtils.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/openjpa/util/SeamMetaDataFactory.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ArtifactNames.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/DontRollBackException.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/EntityManagerProvider.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/HelloService.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/Hotel.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/HotelNameProducer.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/IndexedHotel.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/JBossASTestUtils.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/JNDIManagedPersistenceContextProvider.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ManagedHibernateSessionProvider.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextObserver.java
A testsuite/src/test/java/org/jboss/seam/persistence/test/util/ManagedPersistenceContextProvider.java
A testsuite/src/test/resources-jbossas-7/META-INF/orm.xml
A testsuite/src/test/resources-jbossas-7/META-INF/persistence-orm.xml
A testsuite/src/test/resources-jbossas-7/META-INF/persistence-search.xml
A testsuite/src/test/resources-jbossas-7/META-INF/persistence.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-seam-beans.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-search.cfg.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/hibernate-std.cfg.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/jpa-seam-beans.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/orm.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-orm.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-search.xml
A testsuite/src/test/resources-jetty-hibernate/META-INF/persistence-std.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/beans-transaction-interceptor.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/beans.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/hibernate-beans.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/jetty-env.xml
A testsuite/src/test/resources-jetty-hibernate/WEB-INF/web.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/orm.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/persistence-orm.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/persistence-std.xml
A testsuite/src/test/resources-jetty-openjpa/META-INF/seam-beans.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/beans-transaction-interceptor.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/beans.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/jetty-env.xml
A testsuite/src/test/resources-jetty-openjpa/WEB-INF/web.xml
A testsuite/src/test/resources/arquillian.xml
Log Message:
-----------
Merge pull request #9 from maschmid/SEAMPERSIST-71-squashed
SEAMPERSIST-71 testsuite structure update
Compare: https://github.com/seam/persistence/compare/b830e85...439a831
13 years
Seam SVN: r14245 - branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-11-06 08:34:57 -0500 (Sun, 06 Nov 2011)
New Revision: 14245
Modified:
branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Seam.java
Log:
JBSEAM-4830 - added getting Version string from jboss-seam manifest from
module classloader
Modified: branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Seam.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Seam.java 2011-11-04 08:36:46 UTC (rev 14244)
+++ branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Seam.java 2011-11-06 13:34:57 UTC (rev 14245)
@@ -11,10 +11,16 @@
import static org.jboss.seam.util.EJB.STATELESS;
import static org.jboss.seam.util.EJB.name;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Enumeration;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
+import java.util.jar.Attributes;
+import java.util.jar.Manifest;
import javax.persistence.Entity;
@@ -24,8 +30,8 @@
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.contexts.Lifecycle;
+import org.jboss.seam.init.DeploymentDescriptor;
import org.jboss.seam.init.EjbDescriptor;
-import org.jboss.seam.init.DeploymentDescriptor;
import org.jboss.seam.util.Strings;
import org.jboss.seam.web.Session;
@@ -43,6 +49,9 @@
// application-scoped property in which the Seam version is stored
public static final String VERSION = "org.jboss.seam.version";
+
+ private static String jarName;
+ private static String versionString;
public static EjbDescriptor getEjbDescriptor(Class clazz)
{
@@ -313,7 +322,51 @@
public static String getVersion()
{
Package pkg = Seam.class.getPackage();
- return pkg != null ? pkg.getImplementationVersion() : null;
+ if (pkg.getImplementationVersion() != null)
+ {
+ return pkg.getImplementationVersion();
+ }
+
+ // new way of getting Manifest version string
+ // in case of module classloading for instance in JBoss AS7
+ if (versionString == null)
+ {
+ final Enumeration<URL> resources;
+ try
+ {
+ resources = Seam.class.getClassLoader().getResources("META-INF/MANIFEST.MF");
+ while (resources.hasMoreElements() && versionString == null)
+ {
+ final URL url = resources.nextElement();
+ final InputStream stream = url.openStream();
+ if (stream != null)
+ try
+ {
+ final Manifest manifest = new Manifest(stream);
+ final Attributes mainAttributes = manifest.getMainAttributes();
+ if (mainAttributes != null && "Seam Core".equals(mainAttributes.getValue("Specification-Title")))
+ {
+ jarName = mainAttributes.getValue("Specification-Title");
+ versionString = mainAttributes.getValue("Specification-Version");
+ }
+ }
+ finally
+ {
+ try
+ {
+ stream.close();
+ }
+ catch (Throwable ignored)
+ {
+ }
+ }
+ }
+ }
+ catch (IOException ignored)
+ {
+ }
+ }
+ return versionString;
}
public static void clearComponentNameCache()
13 years
[forge/core] 1d1345: Static Metawidget
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: 1d1345f41c60f87e499439575b24e1e961ca19ca
https://github.com/forge/core/commit/1d1345f41c60f87e499439575b24e1e961ca...
Author: Richard Kennard <richard(a)kennardconsulting.com>
Date: 2011-10-29 (Sat, 29 Oct 2011)
Changed paths:
M event-bus-api/src/main/java/org/jboss/forge/bus/event/Change.java
M scaffold-metawidget-lib/src/main/resources/META-INF/web-fragment.xml
M scaffold-metawidget/pom.xml
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldBase.java
A scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/inspector/propertystyle/ForgePropertyStyle.java
A scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/inspector/propertystyle/ForgePropertyStyleConfig.java
R scaffold-metawidget/src/main/resources/org/metawidget/metawidget-richfaces.xml
R scaffold-metawidget/src/main/resources/org/metawidget/metawidget.xml
M scaffold-metawidget/src/main/resources/org/metawidget/scaffold/create.xhtml
M scaffold-metawidget/src/main/resources/org/metawidget/scaffold/list.xhtml
M scaffold-metawidget/src/main/resources/org/metawidget/scaffold/view.xhtml
M scaffold-metawidget/src/test/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldTest.java
Log Message:
-----------
Static Metawidget
Change-Id: I29a51986b58c77d6f56a067148d67aa7c8689147
Commit: 8771524574137daaf5f04bd7faae5fdf18bfe035
https://github.com/forge/core/commit/8771524574137daaf5f04bd7faae5fdf18bf...
Author: Richard Kennard <richard(a)kennardconsulting.com>
Date: 2011-11-02 (Wed, 02 Nov 2011)
Changed paths:
M dist/build.xml
M dist/pom.xml
M pom.xml
A scaffold-faces-lib/pom.xml
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/navigation/MenuItem.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/navigation/Navigation.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/persistence/DatasourceProducer.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/persistence/PaginationHelper.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/persistence/PersistenceUtil.java
A scaffold-faces-lib/src/main/resources/META-INF/beans.xml
A scaffold-faces-lib/src/main/resources/META-INF/forge.xml
A scaffold-faces-lib/src/main/resources/META-INF/resources/bkg.gif
A scaffold-faces-lib/src/main/resources/META-INF/resources/favicon.ico
A scaffold-faces-lib/src/main/resources/META-INF/resources/forge-logo.png
A scaffold-faces-lib/src/main/resources/META-INF/resources/forge-style.css
A scaffold-faces-lib/src/main/resources/META-INF/resources/jboss-community.png
A scaffold-faces-lib/src/main/resources/META-INF/web-fragment.xml
A scaffold-faces/pom.xml
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/FacesAccessStrategy.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/FacesScaffold.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/FacesTemplateStrategy.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyle.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyleConfig.java
A scaffold-faces/src/main/resources/META-INF/beans.xml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/BackingBean.jv
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/URLRewriteConfiguration.jv
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/create.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/list.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/view.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/404.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/500.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/forge-template.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/index.html
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/index.xhtml
A scaffold-faces/src/test/java/org/jboss/forge/scaffold/faces/FacesScaffoldTest.java
R scaffold-metawidget-lib/pom.xml
R scaffold-metawidget-lib/src/META-INF/MANIFEST.MF
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/navigation/MenuItem.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/navigation/Navigation.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/persistence/DatasourceProducer.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/persistence/PaginationHelper.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/persistence/PersistenceUtil.java
R scaffold-metawidget-lib/src/main/resources/META-INF/beans.xml
R scaffold-metawidget-lib/src/main/resources/META-INF/forge.xml
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/bkg.gif
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/favicon.ico
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/forge-logo.png
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/forge-style.css
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/jboss-community.png
R scaffold-metawidget-lib/src/main/resources/META-INF/web-fragment.xml
M scaffold-metawidget/pom.xml
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetAccessStrategy.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffold.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldBase.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetTemplateStrategy.java
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/inspector/propertystyle/ForgePropertyStyle.java
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/inspector/propertystyle/ForgePropertyStyleConfig.java
A scaffold-metawidget/src/main/resources/org/metawidget/metawidget-richfaces.xml
A scaffold-metawidget/src/main/resources/org/metawidget/metawidget.xml
M scaffold-metawidget/src/main/resources/org/metawidget/scaffold/create.xhtml
M scaffold-metawidget/src/main/resources/org/metawidget/scaffold/list.xhtml
M scaffold-metawidget/src/main/resources/org/metawidget/scaffold/view.xhtml
M scaffold-metawidget/src/test/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldTest.java
M scaffold-plugins/src/main/java/org/jboss/forge/scaffold/plugins/ScaffoldPlugin.java
Log Message:
-----------
Refactor to forge-scaffold-faces
Change-Id: I93d38c9c4cd0f0de170131b4d09772d80580ebb5
Commit: 1d45d538aef9fa40366dd5c2a346a202a6df1157
https://github.com/forge/core/commit/1d45d538aef9fa40366dd5c2a346a202a6df...
Author: Richard Kennard <richard(a)kennardconsulting.com>
Date: 2011-11-03 (Thu, 03 Nov 2011)
Changed paths:
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/validation/MetawidgetValidationConfigurator.java
M scaffold-metawidget/src/main/resources/org/metawidget/metawidget-richfaces.xml
M scaffold-metawidget/src/main/resources/org/metawidget/metawidget.xml
Log Message:
-----------
Fixed Metawidget build
Change-Id: If8d8cc04d0b6440e7fad8c32e57e6f56eccd1bec
Commit: ef64289faf1f5d0c70f29fc8ef2ec0b720cc5647
https://github.com/forge/core/commit/ef64289faf1f5d0c70f29fc8ef2ec0b720cc...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-11-04 (Fri, 04 Nov 2011)
Changed paths:
M dist/build.xml
M dist/pom.xml
M dist/src/main/resources/modules/org/jboss/forge/scaffold/impl/main/module.xml
M pom.xml
A scaffold-faces-lib/pom.xml
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/navigation/MenuItem.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/navigation/Navigation.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/persistence/DatasourceProducer.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/persistence/PaginationHelper.java
A scaffold-faces-lib/src/main/java/org/jboss/forge/scaffold/faces/persistence/PersistenceUtil.java
A scaffold-faces-lib/src/main/resources/META-INF/beans.xml
A scaffold-faces-lib/src/main/resources/META-INF/forge.xml
A scaffold-faces-lib/src/main/resources/META-INF/resources/bkg.gif
A scaffold-faces-lib/src/main/resources/META-INF/resources/favicon.ico
A scaffold-faces-lib/src/main/resources/META-INF/resources/forge-logo.png
A scaffold-faces-lib/src/main/resources/META-INF/resources/forge-style.css
A scaffold-faces-lib/src/main/resources/META-INF/resources/jboss-community.png
A scaffold-faces-lib/src/main/resources/META-INF/web-fragment.xml
A scaffold-faces/pom.xml
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/FacesAccessStrategy.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/FacesScaffold.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/FacesTemplateStrategy.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyle.java
A scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyleConfig.java
A scaffold-faces/src/main/resources/META-INF/beans.xml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/BackingBean.jv
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/URLRewriteConfiguration.jv
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/create.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/list.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/scaffold/view.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/404.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/500.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/forge-template.xhtml
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/index.html
A scaffold-faces/src/main/resources/org/jboss/forge/scaffold/faces/templates/index.xhtml
A scaffold-faces/src/test/java/org/jboss/forge/scaffold/faces/FacesScaffoldTest.java
R scaffold-metawidget-lib/pom.xml
R scaffold-metawidget-lib/src/META-INF/MANIFEST.MF
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/navigation/MenuItem.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/navigation/Navigation.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/persistence/DatasourceProducer.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/persistence/PaginationHelper.java
R scaffold-metawidget-lib/src/main/java/org/jboss/forge/scaffold/metawidget/persistence/PersistenceUtil.java
R scaffold-metawidget-lib/src/main/resources/META-INF/beans.xml
R scaffold-metawidget-lib/src/main/resources/META-INF/forge.xml
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/bkg.gif
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/favicon.ico
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/forge-logo.png
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/forge-style.css
R scaffold-metawidget-lib/src/main/resources/META-INF/resources/jboss-community.png
R scaffold-metawidget-lib/src/main/resources/META-INF/web-fragment.xml
M scaffold-metawidget/pom.xml
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetAccessStrategy.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffold.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldBase.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetTemplateStrategy.java
M scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/validation/MetawidgetValidationConfigurator.java
M scaffold-metawidget/src/main/resources/org/metawidget/metawidget-richfaces.xml
M scaffold-metawidget/src/main/resources/org/metawidget/metawidget.xml
M scaffold-plugins/src/main/java/org/jboss/forge/scaffold/plugins/ScaffoldPlugin.java
Log Message:
-----------
Fixed runtime and generation issues with scaffold
Commit: c1f0795b5e1b9367ce5e1fed6c677a5dbe9b8089
https://github.com/forge/core/commit/c1f0795b5e1b9367ce5e1fed6c677a5dbe9b...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-11-04 (Fri, 04 Nov 2011)
Changed paths:
M pom.xml
R scaffold-metawidget/pom.xml
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetAccessStrategy.java
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffold.java
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldBase.java
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/MetawidgetTemplateStrategy.java
R scaffold-metawidget/src/main/java/org/jboss/forge/scaffold/metawidget/validation/MetawidgetValidationConfigurator.java
R scaffold-metawidget/src/main/resources/META-INF/beans.xml
R scaffold-metawidget/src/main/resources/org/metawidget/metawidget-richfaces.xml
R scaffold-metawidget/src/main/resources/org/metawidget/metawidget.xml
R scaffold-metawidget/src/main/resources/org/metawidget/scaffold/BackingBean.jv
R scaffold-metawidget/src/main/resources/org/metawidget/scaffold/URLRewriteConfiguration.jv
R scaffold-metawidget/src/main/resources/org/metawidget/scaffold/create.xhtml
R scaffold-metawidget/src/main/resources/org/metawidget/scaffold/list.xhtml
R scaffold-metawidget/src/main/resources/org/metawidget/scaffold/view.xhtml
R scaffold-metawidget/src/main/resources/org/metawidget/templates/404.xhtml
R scaffold-metawidget/src/main/resources/org/metawidget/templates/500.xhtml
R scaffold-metawidget/src/main/resources/org/metawidget/templates/forge-template.xhtml
R scaffold-metawidget/src/main/resources/org/metawidget/templates/index.html
R scaffold-metawidget/src/main/resources/org/metawidget/templates/index.xhtml
R scaffold-metawidget/src/test/java/org/jboss/forge/scaffold/metawidget/MetawidgetScaffoldTest.java
Log Message:
-----------
Removed old metawidget scaffold
Compare: https://github.com/forge/core/compare/293e872...c1f0795
13 years
Seam SVN: r14244 - branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/mock.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-11-04 04:36:46 -0400 (Fri, 04 Nov 2011)
New Revision: 14244
Modified:
branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/mock/MockViewHandler.java
Log:
JBSEAM-4146 instead of throwing IllegalArgumentException trying to use viewId and printout Warning about wrong usage
Modified: branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/mock/MockViewHandler.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/mock/MockViewHandler.java 2011-10-30 13:06:28 UTC (rev 14243)
+++ branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/mock/MockViewHandler.java 2011-11-04 08:36:46 UTC (rev 14244)
@@ -8,10 +8,14 @@
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.jboss.seam.util.Strings;
public class MockViewHandler extends ViewHandler {
+ private final Log logger = LogFactory.getLog(getClass());
+
@Override
public Locale calculateLocale(FacesContext ctx) {
return Locale.getDefault();
@@ -42,7 +46,9 @@
int sploc = servletPath.lastIndexOf('.');
if (sploc < 0)
{
- throw new IllegalArgumentException("no file extension in servlet path: " + servletPath);
+ logger.warn("You should catch the exception before Seam", new IllegalArgumentException("no file extension in servlet path: " + servletPath));
+ // in case of Servlet exception which is not mapped and handled by Seam
+ return contextPath + viewId;
}
return contextPath + getViewIdSansSuffix(viewId) + servletPath.substring(sploc);
13 years