You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2007/03/16 19:37:04 UTC

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

Author: mriou
Date: Fri Mar 16 11:37:03 2007
New Revision: 519086

URL: http://svn.apache.org/viewvc?view=rev&rev=519086
Log:
Some fixes on the jetty stuff.

Modified:
    incubator/ode/trunk/Rakefile

Modified: incubator/ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=519086&r1=519085&r2=519086
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Fri Mar 16 11:37:03 2007
@@ -263,7 +263,7 @@
       project("ode:bpel-dao"), project("ode:bpel-runtime"),
       project("ode:bpel-store"), project("ode:utils"),
       DERBY, WSDL4J
-
+=begin
     tests.resources.into(path_to(:test_target_dir))
     tests.compile.with *compile.classpath
     tests.compile.with project("ode:bpel-schemas"), project("ode:bpel-scheduler-quartz"),
@@ -272,7 +272,7 @@
       COMMONS.pool, COMMONS.lang, COMMONS.logging, DERBY, JAVAX.connector, 
       JAVAX.transaction, JAVAX.stream, JAXEN, HSQLDB, JOTM, LOG4J, XERCES, OpenJPA::REQUIRES, 
       QUARTZ, SAXON, XALAN, XMLBEANS
-    
+=end
     package :jar
   end
 
@@ -445,7 +445,8 @@
 desc "Deploys a process in the running Jetty daemon (started using jetty:bounce)."
 task("jetty:process") do
   fail "A process should be provided by specifying PROCESS=/path/to/process." unless ENV['PROCESS']
-  options = project("ode").task("axis2-war:jetty:bounce").options
+
+  options = project("ode:axis2-war").task("jetty:bounce").options
   res = Jetty.jetty_call('/war', :get, options)
   case res
   when Net::HTTPSuccess
@@ -453,10 +454,10 @@
     process_target = res.body.chomp + '/webapp/WEB-INF/processes'
     process_source = options[:process_alias][ENV['PROCESS']] || ENV['PROCESS']
     verbose { puts "Copying #{process_source} to #{process_target} " }
-    FileUtils.cp_r(process_source, process_target)
+    cp_r(process_source, process_target)
 
     # Removing marker files to force redeploy
-    FileUtils.rm Dir.glob("#{process_target}/*.deployed")
+    rm Dir.glob("#{process_target}/*.deployed")
 
     puts "Process deployed."
   else
@@ -465,5 +466,5 @@
 end
 
 # Lazy ass aliasing
-task("jetty:bounce" => ["package", "ode:axis2-war:jetty:bounce"])
+task("jetty:bounce" => ["ode:axis2-war:jetty:bounce"])
 task("jetty:shutdown" => ["ode:axis2-war:jetty:shutdown"])