You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2008/10/18 02:18:46 UTC

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

Author: midon
Date: Fri Oct 17 17:18:46 2008
New Revision: 705800

URL: http://svn.apache.org/viewvc?rev=705800&view=rev
Log:
ODE-388: create dir only if not exists

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=705800&r1=705799&r2=705800&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/Rakefile (original)
+++ ode/branches/APACHE_ODE_1.X/Rakefile Fri Oct 17 17:18:46 2008
@@ -217,7 +217,7 @@
       # test_dir will be the Axis2 Repo dir
       test_dir = _("target/test-classes/TestRampart")
       # copy the required modules
-      mkdir "#{test_dir}/modules"
+      mkdir "#{test_dir}/modules" unless File.directory? "#{test_dir}/modules"
       artifacts(AXIS2_MODULES.mods).map {|a| a.invoke }
       cp AXIS2_MODULES.mods.map {|a| repositories.locate(a)} , _("#{test_dir}/modules")
       # generate one process per test