You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bo...@apache.org on 2007/03/31 01:24:40 UTC

svn commit: r524322 - /incubator/ode/trunk/Rakefile

Author: boisvert
Date: Fri Mar 30 16:24:39 2007
New Revision: 524322

URL: http://svn.apache.org/viewvc?view=rev&rev=524322
Log:
Tweaks for an happy Eclipse task

Modified:
    incubator/ode/trunk/Rakefile

Modified: incubator/ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=524322&r1=524321&r2=524322
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Fri Mar 30 16:24:39 2007
@@ -259,11 +259,14 @@
   define "bpel-schemas" do
     schemas = [ path_to(:src_dir, "main/xsd/pmapi.xsdconfig"),
                 path_to(:src_dir, "main/xsd/dd.xsdconfig"), path_to(:src_dir, "main/xsd") ]
-    prepare XMLBeans.compile_task(path_to(:target_dir, "generated")=>schemas).
+    generated = path_to(:target_dir, "generated")
+    prepare XMLBeans.compile_task(generated=>schemas).
       using(:javasource=>compile.options.source,
             :classes=>path_to(:java_target_dir),
             :jar=>path_to(:target_dir, "xmlbeans.jar"))
 
+    compile.from generated
+    compile.with JAVAX.stream, XMLBEANS
     package :jar
   end
 
@@ -318,7 +321,7 @@
   desc "ODE OpenJPA DAO Implementation"
   define "dao-jpa" do
     compile.with project("ode:bpel-api"), project("ode:bpel-dao"), project("ode:utils"),
-      COMMONS.collections, COMMONS.logging, JAVAX.persistence, JAVAX.transaction,
+      COMMONS.collections, COMMONS.logging, JAVAX.connector, JAVAX.persistence, JAVAX.transaction,
       OPENJPA, XERCES
 
     compile do |task|