Author: mriou
Date: Tue Aug 14 08:37:39 2007
New Revision: 565813

URL: http://svn.apache.org/viewvc?view=rev&rev=565813
Log:
ODE-72 Fixed test compilation error.

Modified:
    
ode/trunk/bpel-compiler/src/test/java/org/apache/ode/bpel/compiler/WSDLRegistryTest.java

Modified: 
ode/trunk/bpel-compiler/src/test/java/org/apache/ode/bpel/compiler/WSDLRegistryTest.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-compiler/src/test/java/org/apache/ode/bpel/compiler/WSDLRegistryTest.java?view=diff&rev=565813&r1=565812&r2=565813
==============================================================================
--- 
ode/trunk/bpel-compiler/src/test/java/org/apache/ode/bpel/compiler/WSDLRegistryTest.java
 (original)
+++ 
ode/trunk/bpel-compiler/src/test/java/org/apache/ode/bpel/compiler/WSDLRegistryTest.java
 Tue Aug 14 08:37:39 2007
@@ -70,7 +70,8 @@
     WSDLReader reader = factory.newWSDLReader();
     
     //ResourceFinder finder = new DefaultResourceFinder(new 
File(wsd.getPath()).getParentFile());
-    ResourceFinder finder = new DefaultResourceFinder(new 
File(wsd.toURI().getPath()).getParentFile());
+    File parent = new File(wsd.toURI().getPath()).getParentFile();
+    ResourceFinder finder = new DefaultResourceFinder(parent, parent);
     WSDLLocatorImpl loc = new WSDLLocatorImpl(finder,wsd.toURI());
     Definition4BPEL wsdl = (Definition4BPEL) reader.readWSDL(loc);
     _registry.addDefinition(wsdl, finder, wsd.toURI());


Reply via email to