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/2251a706
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/2251a706
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/2251a706

Branch: refs/heads/master
Commit: 2251a706084752a23e49c5e363fad4d3618a3eef
Parents: 578a6da
Author: sathwik <[email protected]>
Authored: Wed Jun 28 16:04:04 2017 +0530
Committer: sathwik <[email protected]>
Committed: Wed Jun 28 16:04:04 2017 +0530

----------------------------------------------------------------------
 Rakefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/2251a706/Rakefile
----------------------------------------------------------------------
diff --git a/Rakefile b/Rakefile
index bfa01a8..b60c3dc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -377,13 +377,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

Reply via email to