You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2007/08/06 23:53:17 UTC

svn commit: r563293 - in /ode/trunk: Rakefile dao-jpa-ojpa-derby/src/main/scripts/license-header.sql

Author: mriou
Date: Mon Aug  6 14:53:16 2007
New Revision: 563293

URL: http://svn.apache.org/viewvc?view=rev&rev=563293
Log:
License headers for generated SQL files now that they're included in the distros

Added:
    ode/trunk/dao-jpa-ojpa-derby/src/main/scripts/license-header.sql
Modified:
    ode/trunk/Rakefile

Modified: ode/trunk/Rakefile
URL: http://svn.apache.org/viewvc/ode/trunk/Rakefile?view=diff&rev=563293&r1=563292&r2=563293
==============================================================================
--- ode/trunk/Rakefile (original)
+++ ode/trunk/Rakefile Mon Aug  6 14:53:16 2007
@@ -124,7 +124,7 @@
   compile.options.source = "1.5"
   compile.options.target = "1.5"
   manifest["Implementation-Vendor"] = "Apache Software Foundation"
-  meta_inf << file("DISCLAIMER") << file("NOTICE")
+  meta_inf << file("NOTICE")
 
   desc "ODE Axis Integration Layer"
   define "axis2" do
@@ -362,7 +362,7 @@
         Buildr::OpenJPA.mapping_tool :properties=>db_xml, :action=>"build", :sql=>task.name,
           :classpath=>projects("bpel-store", "dao-jpa", "bpel-api", "bpel-dao", "utils" )
       end
-      sql = concat(_("target/#{db}.sql")=>[partial_sql, scheduler_sql])
+      sql = concat(_("target/#{db}.sql")=>[_("src/main/scripts/license-header.sql"), partial_sql, scheduler_sql])
       build sql
     end
     derby_db = Derby.create(_("target/derby/jpadb")=>_("target/derby.sql"))
@@ -535,3 +535,4 @@
 
   package(:zip, :id=>"#{id}-docs").include(javadoc(project("ode").projects).target)
 end
+

Added: ode/trunk/dao-jpa-ojpa-derby/src/main/scripts/license-header.sql
URL: http://svn.apache.org/viewvc/ode/trunk/dao-jpa-ojpa-derby/src/main/scripts/license-header.sql?view=auto&rev=563293
==============================================================================
--- ode/trunk/dao-jpa-ojpa-derby/src/main/scripts/license-header.sql (added)
+++ ode/trunk/dao-jpa-ojpa-derby/src/main/scripts/license-header.sql Mon Aug  6 14:53:16 2007
@@ -0,0 +1,19 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--    http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied.  See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+--
+