ODE-1054: Apache license added to auto generated database scripts.
Project: http://git-wip-us.apache.org/repos/asf/ode/repo Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/7a494880 Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/7a494880 Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/7a494880 Branch: refs/heads/ode-1.3.x Commit: 7a49488077d519b2fd9f31bbbc1471c48684a2b3 Parents: 159aa6e Author: sathwik <[email protected]> Authored: Tue Apr 5 11:41:43 2016 +0530 Committer: sathwik <[email protected]> Committed: Tue Apr 5 11:41:43 2016 +0530 ---------------------------------------------------------------------- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/7a494880/Rakefile ---------------------------------------------------------------------- diff --git a/Rakefile b/Rakefile index 2e8a021..82e68bd 100644 --- a/Rakefile +++ b/Rakefile @@ -364,13 +364,14 @@ define "ode" do end end + license_sql = _("src/main/sql/license-header.sql") common_sql = _("src/main/sql/common.sql") index_sql = _("src/main/sql/index.sql") %w{ derby mysql firebird hsql postgres sqlserver oracle h2}.each do |db| partial_runtime = export[ properties_for[db], dao_hibernate, _("target/partial.runtime.#{db}.sql") ] partial_store = export[ properties_for[db], bpel_store, _("target/partial.store.#{db}.sql") ] - build concat(_("target/#{db}.sql")=>[ common_sql, predefined_for[db], partial_store, partial_runtime, index_sql]) + build concat(_("target/#{db}.sql")=>[ license_sql, common_sql, predefined_for[db], partial_store, partial_runtime, index_sql]) end build do
