Author: manaRH
Date: 2012-10-12 10:35:50 -0400 (Fri, 12 Oct 2012)
New Revision: 15286
Modified:
branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/Deployments.java
Log:
removed hibernate.cfg.xml from integration testsuite Deployments.java
Modified:
branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/Deployments.java
===================================================================
---
branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/Deployments.java 2012-10-11
14:51:09 UTC (rev 15285)
+++
branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/Deployments.java 2012-10-12
14:35:50 UTC (rev 15286)
@@ -31,7 +31,7 @@
.addAsResource("messages_en.properties")
.addAsResource("META-INF/persistence.xml")
- .addAsResource("hibernate.cfg.xml")
+ //.addAsResource("hibernate.cfg.xml")
.addAsWebInfResource("WEB-INF/components.xml",
"components.xml")
.addAsWebInfResource("WEB-INF/pages.xml",
"pages.xml")
.addAsWebInfResource("WEB-INF/real-web.xml",
"web.xml")
@@ -39,37 +39,6 @@
.addAsWebInfResource("WEB-INF/jboss-seam-integration-tests-hornetq-jms.xml",
"jboss-seam-integration-tests-hornetq-jms.xml");
}
- public static WebArchive jbpmSeamDeployment() {
- return ShrinkWrap.create(ZipImporter.class, "test.war").importFrom(new
File("target/seam-integration-tests.war")).as(WebArchive.class)
- .addAsWebInfResource(new StringAsset(
- "<jboss-deployment-structure>" +
- "<deployment>" +
- "<dependencies>" +
- "<module name=\"org.javassist\"/>" +
- "<module name=\"org.dom4j\"/>" +
- "<module
name=\"org.apache.commons.collections\"/>" +
- "</dependencies>" +
- "</deployment>" +
- "</jboss-deployment-structure>"),
"jboss-deployment-structure.xml")
- .addAsResource("seam.properties")
- .addAsResource("components.properties")
- .addAsResource("messages_en.properties")
- .addAsResource("META-INF/persistence.xml")
-
- .addAsResource("testProcess1.jpdl.xml")
- .addAsResource("testProcess2.jpdl.xml")
- .addAsResource("testProcess3.jpdl.xml")
- .addAsResource("testProcess4.jpdl.xml")
-
- .addAsResource("jbpm.cfg.xml")
-
- .addAsResource("hibernate.cfg.xml")
- .addAsWebInfResource("WEB-INF/components-jbpm.xml",
"components.xml")
- .addAsWebInfResource("WEB-INF/pages.xml",
"pages.xml")
- .addAsWebInfResource("WEB-INF/web.xml", "web.xml")
- .addAsWebInfResource("WEB-INF/ejb-jar.xml",
"ejb-jar.xml");
- }
-
public static WebArchive defaultSeamDeployment(String customComponentsXml) {
WebArchive war = ShrinkWrap.create(ZipImporter.class,
"test.war").importFrom(new
File("target/seam-integration-tests.war")).as(WebArchive.class)
.addAsWebInfResource(new StringAsset(
@@ -86,7 +55,7 @@
.addAsResource("messages_en.properties")
.addAsResource("META-INF/persistence.xml")
- .addAsResource("hibernate.cfg.xml")
+ //.addAsResource("hibernate.cfg.xml")
.addAsWebInfResource(customComponentsXml, "components.xml")
.addAsWebInfResource("WEB-INF/pages.xml",
"pages.xml")
.addAsWebInfResource("WEB-INF/web.xml", "web.xml")
Show replies by date