Author: stliu
Date: 2009-12-19 11:23:27 -0500 (Sat, 19 Dec 2009)
New Revision: 18289
Modified:
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java
Log:
JBPAPP-3153 change the build tool of Hibernate EM(eap 5 cp branch)
Modified:
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java
===================================================================
---
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java 2009-12-19
16:14:47 UTC (rev 18288)
+++
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java 2009-12-19
16:23:27 UTC (rev 18289)
@@ -58,7 +58,7 @@
}
public void testInputStreamZippedJar() throws Exception {
- String jarFileName = "file:./build/testresources/defaultpar.par";
+ String jarFileName = "file:./target/test-packages/defaultpar.par";
//JarVisitor jarVisitor = new ZippedJarVisitor( jarFileName, true, true );
Filter[] filters = getFilters();
JarVisitor jarVisitor = new InputStreamZippedJarVisitor( new URL( jarFileName ),
filters, "" );
@@ -78,7 +78,7 @@
}
public void testNestedJarProtocol() throws Exception {
- String jarFileName =
"jar:file:./build/testresources/nestedjar.ear!/defaultpar.par";
+ String jarFileName =
"jar:file:./target/test-packages/nestedjar.ear!/defaultpar.par";
//JarVisitor jarVisitor = new ZippedJarVisitor( jarFileName, true, true );
Filter[] filters = getFilters();
JarVisitor jarVisitor = new JarProtocolVisitor( new URL( jarFileName ), filters,
"" );
@@ -97,7 +97,7 @@
localEntry.getInputStream().close();
}
- jarFileName =
"jar:file:./build/testresources/nesteddir.ear!/defaultpar.par";
+ jarFileName =
"jar:file:./target/test-packages/nesteddir.ear!/defaultpar.par";
//JarVisitor jarVisitor = new ZippedJarVisitor( jarFileName, true, true );
filters = getFilters();
jarVisitor = new JarProtocolVisitor( new URL( jarFileName ), filters, "" );
@@ -118,7 +118,7 @@
}
public void testJarProtocol() throws Exception {
- String jarFileName =
"jar:file:./build/testresources/war.war!/WEB-INF/classes";
+ String jarFileName =
"jar:file:./target/test-packages/war.war!/WEB-INF/classes";
//JarVisitor jarVisitor = new ZippedJarVisitor( jarFileName, true, true );
Filter[] filters = getFilters();
JarVisitor jarVisitor = new JarProtocolVisitor( new URL( jarFileName ), filters,
"" );
@@ -138,7 +138,7 @@
}
public void testZippedJar() throws Exception {
- String jarFileName = "file:./build/testresources/defaultpar.par";
+ String jarFileName = "file:./target/test-packages/defaultpar.par";
//JarVisitor jarVisitor = new ZippedJarVisitor( jarFileName, true, true );
Filter[] filters = getFilters();
JarVisitor jarVisitor = new FileZippedJarVisitor( new URL( jarFileName ), filters,
"" );
@@ -159,7 +159,7 @@
public void testExplodedJar() throws Exception {
- String jarFileName = "./build/testresources/explodedpar.par";
+ String jarFileName = "./target/test-packages/explodedpar.par";
//JarVisitor jarVisitor = new ExplodedJarVisitor( jarFileName, true, true );
Filter[] filters = getFilters();
JarVisitor jarVisitor = new ExplodedJarVisitor( jarFileName, filters );
@@ -184,7 +184,7 @@
log.warn("Skipping test! See jira issue EJB-230.");
-// String jarFileName = "./build/testresources/explodedpar.par";
+// String jarFileName = "./target/test-packages/explodedpar.par";
// Filter[] filters = getFilters();
// Filter[] dupeFilters = new Filter[filters.length * 2];
// int index = 0;
Show replies by date