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/25 20:33:21 UTC
svn commit: r532437 - in /incubator/ode/trunk: Rakefile tasks/jdepend.rake
Author: assaf
Date: Wed Apr 25 11:33:20 2007
New Revision: 532437
URL: http://svn.apache.org/viewvc?view=rev&rev=532437
Log:
Moved Jdepend to its own task
Added:
incubator/ode/trunk/tasks/jdepend.rake
Modified:
incubator/ode/trunk/Rakefile
Modified: incubator/ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=532437&r1=532436&r2=532437
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Wed Apr 25 11:33:20 2007
@@ -462,10 +462,4 @@
javadoc projects("ode:bpel-api", "ode:bpel-epr")
package :zip, :classifier=>"docs", :include=>javadoc.target
- task "jdepend" do
- paths = projects(:in=>self).map { |prj| prj.path_to("target/classes") }.each { |path| file(path).invoke }.
- select { |path| File.exist?(path) }
- java "jdepend.swingui.JDepend", paths, :classpath=>"jdepend:jdepend:jar:2.9.1"
- end
-
end
Added: incubator/ode/trunk/tasks/jdepend.rake
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/tasks/jdepend.rake?view=auto&rev=532437
==============================================================================
--- incubator/ode/trunk/tasks/jdepend.rake (added)
+++ incubator/ode/trunk/tasks/jdepend.rake Wed Apr 25 11:33:20 2007
@@ -0,0 +1,11 @@
+module Jdepend
+
+ REQUIRES = ["jdepend:jdepend:jar:2.9.1"]
+
+ task "jdepend" do
+ paths = projects(:in=>self).map { |prj| prj.path_to("target/classes") }.each { |path| file(path).invoke }.
+ select { |path| File.exist?(path) }
+ java "jdepend.swingui.JDepend", paths, :classpath=>REQUIRES
+ end
+
+end