You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2007/04/17 01:37:46 UTC

svn commit: r529448 - /incubator/ode/trunk/Rakefile

Author: assaf
Date: Mon Apr 16 16:37:45 2007
New Revision: 529448

URL: http://svn.apache.org/viewvc?view=rev&rev=529448
Log:
Added source code and Javadoc packaging to Rakefile

Modified:
    incubator/ode/trunk/Rakefile

Modified: incubator/ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=529448&r1=529447&r2=529448
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Mon Apr 16 16:37:45 2007
@@ -1,8 +1,8 @@
 require "buildr/lib/buildr.rb"
 
 # Keep this structure to allow the build system to update version numbers.
-VERSION_NUMBER = "1.0-RC1-incubating-SNAPSHOT"
-NEXT_VERSION = "1.0-RC1-incubating"
+VERSION_NUMBER = "1.3"
+NEXT_VERSION = "1.4"
 
 ANNONGEN            = "annogen:annogen:jar:0.1.0"
 ANT                 = "ant:ant:jar:1.6.5"
@@ -80,6 +80,7 @@
 repositories.remote << "http://people.apache.org/repo/m2-snapshot-repository"
 repositories.deploy_to[:url] ||= "sftp://guest@localhost/home/guest"
 
+desc "Apache ODE"
 define "ode", :group=>"org.apache.ode", :version=>VERSION_NUMBER do
 
   compile.options.source = "1.5"
@@ -468,5 +469,14 @@
     compile.with COMMONS.logging, COMMONS.pool, LOG4J, XERCES, JAVAX.stream
     package :jar
   end
+
+  package(:zip, :id=>"#{id}-#{version}", :classifier=>"sources").tap do |zip|
+    `svn status -v`.reject { |l| l[0] == ?? }.
+      map { |l| l.split.last }.reject { |f| File.directory?(f) }.
+      each { |f| zip.include f, :as=>f }
+  end
+
+  javadoc projects("ode:bpel-api", "ode:bpel-epr")
+  package :zip, :id=>"#{id}-#{version}", :classifier=>"docs", :include=>javadoc.target
 
 end