Author: hardy.ferentschik
Date: 2008-11-03 10:09:16 -0500 (Mon, 03 Nov 2008)
New Revision: 15484
Modified:
core/trunk/entitymanager/build.xml
core/trunk/entitymanager/pom.xml
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java
core/trunk/entitymanager/src/test/resources/explicitpar/META-INF/persistence.xml
Log:
HHH-3580 fixed PackagedEntityManagerTest
Modified: core/trunk/entitymanager/build.xml
===================================================================
--- core/trunk/entitymanager/build.xml 2008-11-03 14:25:59 UTC (rev 15483)
+++ core/trunk/entitymanager/build.xml 2008-11-03 15:09:16 UTC (rev 15484)
@@ -93,5 +93,5 @@
<param name="extension" value="par"/>
<param name="jarname" value="explodedpar"/>
</antcall>
- </target>
+ </target>
</project>
Modified: core/trunk/entitymanager/pom.xml
===================================================================
--- core/trunk/entitymanager/pom.xml 2008-11-03 14:25:59 UTC (rev 15483)
+++ core/trunk/entitymanager/pom.xml 2008-11-03 15:09:16 UTC (rev 15484)
@@ -105,6 +105,7 @@
<filtering>true</filtering>
<directory>src/test/resources</directory>
<includes>
+ <include>META-INF/**</include>
<include>*.properties</include>
</includes>
</testResource>
Modified:
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java
===================================================================
---
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java 2008-11-03
14:25:59 UTC (rev 15483)
+++
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java 2008-11-03
15:09:16 UTC (rev 15484)
@@ -354,13 +354,4 @@
em.getTransaction().rollback();
em.close();
}
-
- public PackagedEntityManagerTest() {
- super();
- }
-
- public PackagedEntityManagerTest(String arg0) {
- super( arg0 );
- }
-
}
\ No newline at end of file
Modified:
core/trunk/entitymanager/src/test/resources/explicitpar/META-INF/persistence.xml
===================================================================
---
core/trunk/entitymanager/src/test/resources/explicitpar/META-INF/persistence.xml 2008-11-03
14:25:59 UTC (rev 15483)
+++
core/trunk/entitymanager/src/test/resources/explicitpar/META-INF/persistence.xml 2008-11-03
15:09:16 UTC (rev 15484)
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="manager1"
transaction-type="RESOURCE_LOCAL">
- <jar-file>./build/testresources/externaljar.jar</jar-file>
+ <jar-file>./target/test-packages/externaljar.jar</jar-file>
<class>org.hibernate.ejb.test.Cat</class>
<class>org.hibernate.ejb.test.Kitten</class>
<class>org.hibernate.ejb.test.Distributor</class>