You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by sa...@apache.org on 2015/08/18 20:46:53 UTC
ode git commit: ODE-1039: Packaged OPENJPA and HIBERNATE generated
database scripts in the distribution
Repository: ode
Updated Branches:
refs/heads/master eaa0284e2 -> 8fcaf5f0e
ODE-1039: Packaged OPENJPA and HIBERNATE generated database scripts in the distribution
Project: http://git-wip-us.apache.org/repos/asf/ode/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/8fcaf5f0
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/8fcaf5f0
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/8fcaf5f0
Branch: refs/heads/master
Commit: 8fcaf5f0e31a0c4bb69c1d1cdafa20f7bceb5339
Parents: eaa0284
Author: sathwik <sa...@apache.org>
Authored: Wed Aug 19 00:16:22 2015 +0530
Committer: sathwik <sa...@apache.org>
Committed: Wed Aug 19 00:16:22 2015 +0530
----------------------------------------------------------------------
Rakefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ode/blob/8fcaf5f0/Rakefile
----------------------------------------------------------------------
diff --git a/Rakefile b/Rakefile
index 630cedc..a8c5f06 100644
--- a/Rakefile
+++ b/Rakefile
@@ -675,7 +675,11 @@ define "apache-ode" do
# Include supported database schemas
Dir["#{project("ode:dao-jpa-ojpa-derby").path_to("target")}/*.sql"].each do |f|
- zip.include(f, :path=>"sql") unless f =~ /partial/
+ zip.include(f, :path=>"sql/openjpa") unless f =~ /partial/
+ end
+
+ Dir["#{project("ode:dao-hibernate-db").path_to("target")}/*.sql"].each do |f|
+ zip.include(f, :path=>"sql/hibernate") unless f =~ /partial/
end
# Tools scripts (like bpelc and sendsoap)
@@ -690,7 +694,7 @@ define "apache-ode" do
yield zip
project.check zip, "should contain mysql.sql" do
- it.should contain("sql/mysql.sql")
+ it.should contain("sql/openjpa/mysql.sql")
end
project.check zip, "should contain sendsoap.bat" do
it.should contain("bin/sendsoap.bat")