HHH-5693 Update creation of URLClassloader for resource loading
This is necessary, because of changes of the loction of the test classes. It used to be target/test-classes, now it is target/classes/test
This commit is contained in:
parent
7eedcfea4e
commit
461354be09
|
@ -76,12 +76,13 @@ public abstract class PackagingTestCase extends TestCase {
|
|||
File myPath = new File( myUrl.getFile() );
|
||||
// navigate back to '/target'
|
||||
targetDir = myPath
|
||||
.getParentFile() // target/classes/org/hibernate/ejb/test/packaging
|
||||
.getParentFile() // target/classes/org/hibernate/ejb/test
|
||||
.getParentFile() // target/classes/org/hibernate/ejb
|
||||
.getParentFile() // target/classes/org/hibernate
|
||||
.getParentFile() // target/classes/org
|
||||
.getParentFile() // target/classes/
|
||||
.getParentFile() // target/classes/test/org/hibernate/ejb/test/packaging
|
||||
.getParentFile() // target/classes/test/org/hibernate/ejb/test
|
||||
.getParentFile() // target/classes/test/org/hibernate/ejb
|
||||
.getParentFile() // target/classes/test/org/hibernate
|
||||
.getParentFile() // target/classes/test/org
|
||||
.getParentFile() // target/classes/test
|
||||
.getParentFile() // target/classes
|
||||
.getParentFile(); // target
|
||||
File testPackagesDir = new File( targetDir, "bundles" );
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue