Author: mriou
Date: Thu Apr 12 09:59:53 2007
New Revision: 528034

URL: http://svn.apache.org/viewvc?view=rev&rev=528034
Log:
Last fixes, now all test *should* pass.

Modified:
    incubator/ode/trunk/Rakefile
    incubator/ode/trunk/bpel-scripts/src/main/resources/1.1/good/test.wsdl

Modified: incubator/ode/trunk/Rakefile
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=528034&r1=528033&r2=528034
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Thu Apr 12 09:59:53 2007
@@ -149,9 +149,21 @@
 
   desc "ODE BPEL Compiler"
   define "bpel-compiler" do
-    compile.with projects("ode:bpel-api", "ode:bpel-obj", "ode:bpel-schemas", 
"ode:bpel-scripts", "ode:utils"),
+    compile.with projects("ode:bpel-api", "ode:bpel-obj", "ode:bpel-schemas", 
"ode:utils"),
       COMMONS.logging, JAVAX.stream, JAXEN, SAXON, WSDL4J, XALAN, XERCES
     package :jar
+    test.resources do 
+      # Need to copy a full directory structure without .svn
+      # Neither FileList nor FileUtils make that easy.
+      current = Dir.pwd
+      Dir.chdir("../bpel-scripts/src/main/resources") do
+        files = FileList['**/*'].exclude('.svn').to_a
+        # Creating directories
+        files.each { |f| target = "#{current}/target/test-classes/#{f}"; mkdir 
target if File.directory?(f) && !File.exist?(target) }
+        # Copying files
+        files.each { |f| cp f, "#{current}/target/test-classes/#{f}" if 
File.file?(f) }
+      end
+    end
   end
 
   desc "ODE JCA Connector Implementation"
@@ -240,7 +252,8 @@
 
   desc "ODE BPEL Tests"
   define "bpel-test" do
-    compile.with projects("ode:bpel-api", "ode:bpel-compiler", "ode:bpel-dao", 
"ode:bpel-runtime", "ode:bpel-store", "ode:utils"),
+    compile.with projects("ode:bpel-api", "ode:bpel-compiler", "ode:bpel-dao", 
"ode:bpel-runtime", 
+      "ode:bpel-store", "ode:utils", "ode:bpel-epr"),
       DERBY, WSDL4J
 
     test.with projects("ode:bpel-obj", "ode:dao-jpa", "ode:jacob", 
"ode:bpel-schemas",

Modified: incubator/ode/trunk/bpel-scripts/src/main/resources/1.1/good/test.wsdl
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-scripts/src/main/resources/1.1/good/test.wsdl?view=diff&rev=528034&r1=528033&r2=528034
==============================================================================
--- incubator/ode/trunk/bpel-scripts/src/main/resources/1.1/good/test.wsdl 
(original)
+++ incubator/ode/trunk/bpel-scripts/src/main/resources/1.1/good/test.wsdl Thu 
Apr 12 09:59:53 2007
@@ -35,7 +35,7 @@
 
   <wsdl:types>
     <xsd:schema xmlns="uri:testing" targetNamespace="uri:testing">
-      <xsd:import namespace="uri:test1" schemaLocation="test1.xsd" />
+      <xsd:import namespace="uri:test1" schemaLocation="urn:/test1.xsd" />
       <xsd:complexType name="TComplex1">
         <xsd:sequence>
           <xsd:element name="StringElement" type="xsd:string" maxOccurs="1" 
minOccurs="0"/>


Reply via email to