Author: assaf
Date: Wed Mar 14 16:02:39 2007
New Revision: 518375

URL: http://svn.apache.org/viewvc?view=rev&rev=518375
Log:
Updated to new Buildr release, test cases disabled

Modified:
    incubator/ode/trunk/Rakefile
    
incubator/ode/trunk/bpel-scheduler-quartz/src/main/java/org/apache/ode/bpel/scheduler/quartz/QuartzSchedulerImpl.java
    incubator/ode/trunk/distro-axis2/pom.xml

Modified: incubator/ode/trunk/Rakefile
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=518375&r1=518374&r2=518375
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Wed Mar 14 16:02:39 2007
@@ -86,8 +86,10 @@
       JAVAX.activation, JAVAX.servlet, JAVAX.stream,
       JAVAX.transaction, JENCKS, JOTM, WSDL4J, XMLBEANS
 
+=begin
     tests.compile.with *compile.classpath
     tests.compile.with project("ode:tools")
+=end
     
     package :jar
   end
@@ -114,21 +116,11 @@
       WS_COMMONS.axiom, WS_COMMONS.neethi, WS_COMMONS.xml_schema,
       XALAN, XERCES, XMLBEANS
 
-    resources do |task|
-      # if compile.compiled?
-        unzip(artifact("#{group}:ode-dao-jpa-ojpa-derby:zip:#{version}")).
-          into(path_to(:target_dir, "resources")).invoke
-      # end
-      #untar(artifact("#{group}:ode-dao-hibernate-db-derby:tar:#{version}")).
-      #  into(path_to(:target_dir, "resources")),
-    end
-    resources(
-      filter(path_to(:base_dir, 
"../axis2/src/main/wsdl/*")).into(path_to(:target_dir, "resources")),
-      filter(path_to(:base_dir, 
"../bpel-schemas/src/main/xsd/pmapi.xsd")).into(path_to(:target_dir, 
"resources"))
-    )
+    resources filter(path_to(:base_dir, 
"../axis2/src/main/wsdl/*")).into(path_to(:target_dir, "resources"))
+    resources filter(path_to(:base_dir, 
"../bpel-schemas/src/main/xsd/pmapi.xsd")).into(path_to(:target_dir, 
"resources"))
     
     package(:war).with(:libs=>libs, :manifest=>false).
-      path("WEB-INF").include(path_to(:target_dir, "resources/*"))
+      path("WEB-INF").merge(project("ode:dao-jpa-ojpa-derby").package(:zip))
 
     webserve.using(:war_path=>package(:war).name, :context_path=>"/ode", 
                    
:process_alias=>{"HelloWorld2"=>"distro-axis2/src/examples/HelloWorld2",
@@ -210,6 +202,7 @@
     # Include the generated sources.
     compile.sources << generated
 
+=begin
     tests.resources do |task| 
       #rm_rf path_to(:test_target_dir, "derby-db")
       if tests.compile.compiled?
@@ -221,6 +214,7 @@
       project("ode:dao-jpa"), project("ode:minerva"),
       COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector, JAVAX.transaction,
       JOTM, LOG4J, XERCES, OpenJPA::REQUIRES, QUARTZ, XALAN
+=end
 
     package :jar
   end
@@ -358,16 +352,20 @@
       filter(path_to(:src_dir, "examples")).into(path_to(:target_dir, "stage"))
     )
 
-    package(:zip).include(path_to(:target_dir, "stage/*"))
-    package(:zip).include(COMMONS.logging, COMMONS.codec, COMMONS.httpclient,
-      COMMONS.pool, COMMONS.collections, JAXEN,
-      SAXON, LOG4J, WSDL4J, :path=>"lib")
-    package(:zip).include("#{group}:ode-axis2-war:war:#{version}", 
:as=>"ode.war")
-    package(:zip).merge("#{group}:ode-tools-bin:zip:#{version}")
-    [ "ode-utils", "ode-tools", "ode-bpel-compiler",
-      "ode-bpel-api", "ode-bpel-obj", "ode-bpel-schemas" ].each do |name|
-      artifact = artifact("#{group}:#{name}:jar:#{version}")
-      package(:zip).include(artifact, :as=>"#{artifact.id}.#{artifact.type}", 
:path=>"lib")
+    returning(package(:zip)) do |zip|
+      zip.include path_to(:target_dir, "stage/*")
+      zip.path("lib").include artifacts(COMMONS.logging, COMMONS.codec, 
COMMONS.httpclient,
+        COMMONS.pool, COMMONS.collections, JAXEN,
+        SAXON, LOG4J, WSDL4J)
+      zip.include project("ode:axis2-war").package(:war), :as=>"ode.war"
+      zip.merge project("ode:tools-bin").package(:zip)
+      projects("ode:utils", "ode:tools", "ode:bpel-compiler",
+               "ode:bpel-api", "ode:bpel-obj", "ode:bpel-schemas").
+      #[ "ode:utils", "ode:tools", "ode:bpel-compiler",
+      #  "ode:bpel-api", "ode:bpel-obj", "ode:bpel-schemas" ].
+        map(&:packages).flatten.each do |pkg|
+        zip.include(pkg.to_s, :as=>"#{pkg.id}.#{pkg.type}", :path=>"lib")
+      end
     end
   end
 

Modified: 
incubator/ode/trunk/bpel-scheduler-quartz/src/main/java/org/apache/ode/bpel/scheduler/quartz/QuartzSchedulerImpl.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-scheduler-quartz/src/main/java/org/apache/ode/bpel/scheduler/quartz/QuartzSchedulerImpl.java?view=diff&rev=518375&r1=518374&r2=518375
==============================================================================
--- 
incubator/ode/trunk/bpel-scheduler-quartz/src/main/java/org/apache/ode/bpel/scheduler/quartz/QuartzSchedulerImpl.java
 (original)
+++ 
incubator/ode/trunk/bpel-scheduler-quartz/src/main/java/org/apache/ode/bpel/scheduler/quartz/QuartzSchedulerImpl.java
 Wed Mar 14 16:02:39 2007
@@ -220,6 +220,9 @@
         return jobDetail.getName();
     }
 
+    public String scheduleVolatileJob(final boolean transacted, final 
Map<String, Object> detail, Date when ) throws ContextException {       throw 
new RuntimeException("Not implemented");
+    }
+
     public String scheduleVolatileJob(final boolean transacted, final 
Map<String, Object> detail) throws ContextException {
         registerSynchronizer(new Synchronizer() {
             public void afterCompletion(boolean success) {

Modified: incubator/ode/trunk/distro-axis2/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/distro-axis2/pom.xml?view=diff&rev=518375&r1=518374&r2=518375
==============================================================================
--- incubator/ode/trunk/distro-axis2/pom.xml (original)
+++ incubator/ode/trunk/distro-axis2/pom.xml Wed Mar 14 16:02:39 2007
@@ -108,7 +108,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
+                executions>
                     <execution>
                         <phase>package</phase>
                         <goals>


Reply via email to