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 19:50:08 UTC

svn commit: r1059106 - /ode/trunk/Rakefile

Author: vanto
Date: Fri Jan 14 18:50:08 2011
New Revision: 1059106

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

Modified:
    ode/trunk/Rakefile

Modified: ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/ode/trunk/Rakefile?rev=1059106&r1=1059105&r2=1059106&view=diff
==============================================================================
--- ode/trunk/Rakefile (original)
+++ ode/trunk/Rakefile Fri Jan 14 18:50:08 2011
@@ -634,7 +634,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,