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 2009/08/21 00:06:09 UTC

svn commit: r806375 - /ode/trunk/Buildfile

Author: boisvert
Date: Thu Aug 20 22:06:09 2009
New Revision: 806375

URL: http://svn.apache.org/viewvc?rev=806375&view=rev
Log:
Fix: bin directory was no longer packaged in distros

Modified:
    ode/trunk/Buildfile

Modified: ode/trunk/Buildfile
URL: http://svn.apache.org/viewvc/ode/trunk/Buildfile?rev=806375&r1=806374&r2=806375&view=diff
==============================================================================
--- ode/trunk/Buildfile (original)
+++ ode/trunk/Buildfile Thu Aug 20 22:06:09 2009
@@ -675,12 +675,13 @@
         zip.include(project.path_to("target/LICENSE"))
 
         # Tools scripts (like bpelc and sendsoap)
-        mkdir_p project.path_to("target/bin")
         bins = file(project.path_to("target/bin")=>FileList[project.path_to("src/bin/*")]) do |task|
+          mkdir_p project.path_to("target/bin")
           mkpath task.name
           cp task.prerequisites, task.name
           chmod 0755, FileList[task.name + "/*"], :verbose=>false
         end
+        bins.invoke
         zip.include(bins)
 
         # Include supported database schemas
@@ -693,6 +694,9 @@
         project.check zip, "should contain mysql.sql" do
           it.should contain("sql/mysql.sql")
         end
+        project.check zip, "should contain sendsoap.bat" do
+          it.should contain("bin/sendsoap.bat")
+        end
       end
     end
   end