You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2009/12/03 20:13:24 UTC

svn commit: r886885 - /ode/branches/APACHE_ODE_1.X/Rakefile

Author: vanto
Date: Thu Dec  3 19:13:24 2009
New Revision: 886885

URL: http://svn.apache.org/viewvc?rev=886885&view=rev
Log:
fixing strange permission denied issue (many thanks to Daniel Sun ;) )

Modified:
    ode/branches/APACHE_ODE_1.X/Rakefile

Modified: ode/branches/APACHE_ODE_1.X/Rakefile
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/Rakefile?rev=886885&r1=886884&r2=886885&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/Rakefile (original)
+++ ode/branches/APACHE_ODE_1.X/Rakefile Thu Dec  3 19:13:24 2009
@@ -234,7 +234,8 @@
       rm_rf Dir[_(webapp_dir) + "/**/.svn"]
       cp_r _("src/test/webapp"), test.compile.target.to_s
       rm_rf Dir[_(webapp_dir) + "/**/.svn"]
-      cp Dir[_("src/main/webapp/WEB-INF/classes/*")], test.compile.target.to_s
+      cp_r Dir[_("src/main/webapp/WEB-INF/classes/*")], test.compile.target.to_s
+	  rm_rf Dir[_(webapp_dir) + "/**/.svn"]
       cp Dir[project("axis2").path_to("src/main/wsdl/*")], "#{webapp_dir}/WEB-INF"
       cp project("bpel-schemas").path_to("src/main/xsd/pmapi.xsd"), "#{webapp_dir}/WEB-INF"
       rm_rf Dir[_(webapp_dir) + "/**/.svn"]
@@ -248,7 +249,7 @@
     end
     test.setup unzip("#{webapp_dir}/WEB-INF"=>project("dao-jpa-ojpa-derby").package(:zip))
     test.setup unzip("#{webapp_dir}/WEB-INF"=>project("dao-hibernate-db").package(:zip))
-    test.exclude('*') unless Buildr.environment != 'hudson'
+    test.exclude('*') if Buildr.environment == 'hudson'
 
     NativeDB.prepare_configs test, _(".")