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 2011/01/14 10:38:31 UTC

svn commit: r1058913 - /ode/branches/ode-1.3.5.x/Rakefile

Author: vanto
Date: Fri Jan 14 09:38:31 2011
New Revision: 1058913

URL: http://svn.apache.org/viewvc?rev=1058913&view=rev
Log:
don't include example binaries in distro packages.

Modified:
    ode/branches/ode-1.3.5.x/Rakefile

Modified: ode/branches/ode-1.3.5.x/Rakefile
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/Rakefile?rev=1058913&r1=1058912&r2=1058913&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/Rakefile (original)
+++ ode/branches/ode-1.3.5.x/Rakefile Fri Jan 14 09:38:31 2011
@@ -613,7 +613,7 @@ define "apache-ode" do
     project.package(:zip, :id=>id).enhance(project("ode").projects.map(&:packages).flatten) do |pkg|
       pkg.path("#{id}-#{version}").tap do |zip|
         zip.include meta_inf + ["RELEASE_NOTES", "README"].map { |f| path_to(f) }
-        zip.path("examples").include project.path_to("src/examples"+postfix), :as=>"."
+        zip.path("examples").include(project.path_to("src/examples"+postfix), :as=>".").exclude "**/target"
 
         # Libraries
         zip.path("lib").include artifacts(COMMONS.logging, COMMONS.codec, COMMONS.httpclient,