Repository: ode Updated Branches: refs/heads/ode-1.3.x d1aa13584 -> a91689421
ODE-1039: packaged openjpa and hibernate generated 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/a9168942 Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/a9168942 Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/a9168942 Branch: refs/heads/ode-1.3.x Commit: a916894215788a3f3352c0e4151eadd3dbb011a8 Parents: d1aa135 Author: sathwik <[email protected]> Authored: Wed Aug 19 00:10:52 2015 +0530 Committer: sathwik <[email protected]> Committed: Wed Aug 19 00:10:52 2015 +0530 ---------------------------------------------------------------------- Rakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/a9168942/Rakefile ---------------------------------------------------------------------- diff --git a/Rakefile b/Rakefile index ccc1ce6..75fab41 100644 --- a/Rakefile +++ b/Rakefile @@ -670,7 +670,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) @@ -685,7 +689,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")
