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/20 00:30:07 UTC
svn commit: r530579 - /incubator/ode/trunk/Rakefile
Author: assaf
Date: Thu Apr 19 15:30:06 2007
New Revision: 530579
URL: http://svn.apache.org/viewvc?view=rev&rev=530579
Log:
Copy test resources using filter
Modified:
incubator/ode/trunk/Rakefile
Modified: incubator/ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/Rakefile?view=diff&rev=530579&r1=530578&r2=530579
==============================================================================
--- incubator/ode/trunk/Rakefile (original)
+++ incubator/ode/trunk/Rakefile Thu Apr 19 15:30:06 2007
@@ -151,18 +151,7 @@
compile.with projects("ode:bpel-api", "ode:bpel-obj", "ode:bpel-schemas", "ode:utils"),
COMMONS.logging, JAVAX.stream, JAXEN, SAXON, WSDL4J, XALAN, XERCES
package :jar
- test.resources do
- # Need to copy a full directory structure without .svn
- # Neither FileList nor FileUtils make that easy.
- current = Dir.pwd
- Dir.chdir("../bpel-scripts/src/main/resources") do
- files = FileList['**/*'].exclude('.svn').to_a
- # Creating directories
- files.each { |f| target = "#{current}/target/test-classes/#{f}"; mkdir target if File.directory?(f) && !File.exist?(target) }
- # Copying files
- files.each { |f| cp f, "#{current}/target/test-classes/#{f}" if File.file?(f) }
- end
- end
+ test.resources.include project("ode:bpel-scripts").path_to("src/main/resources/*")
end
desc "ODE JCA Connector Implementation"