From: Nick Burch Date: Mon, 24 May 2010 14:15:27 +0000 (+0000) Subject: More license headers X-Git-Tag: REL_3_7_BETA1~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d81bf66b1c9871b23941b4c6ad56d7e708cf66d;p=poi.git More license headers git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947647 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/contrib/poi-ruby/Makefile b/src/contrib/poi-ruby/Makefile index 2c2bfa8608..a298da3296 100644 --- a/src/contrib/poi-ruby/Makefile +++ b/src/contrib/poi-ruby/Makefile @@ -1,4 +1,21 @@ -#Adapted from the Makefile for PyLucene, by the OSAF +# 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. + + # Makefile for building Poi4R # # Supported operating systems: Linux, Mac OS X and Windows. @@ -19,8 +36,6 @@ # PATH (Windows) need to be set accordingly. # -# -# VERSION=0.1.0 POI_VER=$(shell grep 'http://www.apache.org/dev/release-signing.html - 4. You must have JDK 1.4 / 1.5 + 4. You must have JDK 1.5 5. You must have the following utilities installed on your local machine and available in your path: * ssh * gnupg @@ -18,6 +38,12 @@ POI Release Guide * Forrest. POI 3.0.2 and 3.1 were built using Ant 1.6.2 and Forrest 0.5 + 7. Before building, you should run the "rat-check" build task, which + uses Apache Rat + to check the source tree for files lacking license headers. Files + without headers should be either fixed, or added to the exlude list + + (II) Making release artefacts 1. Update version id in build.xml {code:xml} diff --git a/src/examples/src/org/apache/poi/hssf/view/brush/Brush.java b/src/examples/src/org/apache/poi/hssf/view/brush/Brush.java index 30786a635e..2a8964a512 100644 --- a/src/examples/src/org/apache/poi/hssf/view/brush/Brush.java +++ b/src/examples/src/org/apache/poi/hssf/view/brush/Brush.java @@ -1,3 +1,20 @@ +/* ==================================================================== + 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. +==================================================================== */ + package org.apache.poi.hssf.view.brush; import java.awt.*; @@ -11,4 +28,4 @@ import java.awt.*; public interface Brush extends Stroke { /** Returns the width of the brush. */ float getLineWidth(); -} \ No newline at end of file +} diff --git a/src/examples/src/org/apache/poi/hssf/view/brush/package.html b/src/examples/src/org/apache/poi/hssf/view/brush/package.html index dc4b833a66..d9819fb669 100644 --- a/src/examples/src/org/apache/poi/hssf/view/brush/package.html +++ b/src/examples/src/org/apache/poi/hssf/view/brush/package.html @@ -1,4 +1,26 @@ + + + + + This package contains some brushes that are used when drawing borders for Excel cells. - -@author Ken Arnold, Industrious Media LLC \ No newline at end of file + + diff --git a/src/examples/src/org/apache/poi/ss/examples/html/HtmlHelper.java b/src/examples/src/org/apache/poi/ss/examples/html/HtmlHelper.java index 1d4c2a5b74..2cb1a91734 100644 --- a/src/examples/src/org/apache/poi/ss/examples/html/HtmlHelper.java +++ b/src/examples/src/org/apache/poi/ss/examples/html/HtmlHelper.java @@ -1,3 +1,20 @@ +/* ==================================================================== + 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. +==================================================================== */ + package org.apache.poi.ss.examples.html; import org.apache.poi.ss.usermodel.CellStyle; @@ -20,4 +37,4 @@ public interface HtmlHelper { * @param out The place to write the output. */ void colorStyles(CellStyle style, Formatter out); -} \ No newline at end of file +} diff --git a/src/examples/src/org/apache/poi/ss/examples/html/excelStyle.css b/src/examples/src/org/apache/poi/ss/examples/html/excelStyle.css index e428918b30..1083b637a3 100644 --- a/src/examples/src/org/apache/poi/ss/examples/html/excelStyle.css +++ b/src/examples/src/org/apache/poi/ss/examples/html/excelStyle.css @@ -1,3 +1,21 @@ +/* + ==================================================================== + 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. + ==================================================================== + */ /* * This is the default style sheet for html generated by ToHtml * diff --git a/src/examples/src/org/apache/poi/ss/examples/html/package.html b/src/examples/src/org/apache/poi/ss/examples/html/package.html index b041119bb0..1c8e6af5c4 100644 --- a/src/examples/src/org/apache/poi/ss/examples/html/package.html +++ b/src/examples/src/org/apache/poi/ss/examples/html/package.html @@ -1,2 +1,27 @@ + + + + + + This package contains an example that uses POI to convert a workbook into -an HTML representation of the data. It can use both XSSF and HSSF workbooks. \ No newline at end of file +an HTML representation of the data. It can use both XSSF and HSSF workbooks. + + diff --git a/src/java/org/apache/poi/ddf/package.html b/src/java/org/apache/poi/ddf/package.html index d15e4ce4b9..6a3393d63d 100644 --- a/src/java/org/apache/poi/ddf/package.html +++ b/src/java/org/apache/poi/ddf/package.html @@ -1,3 +1,4 @@ + -

This package contains classes for decoding the Microsoft Office diff --git a/src/java/org/apache/poi/ss/format/package.html b/src/java/org/apache/poi/ss/format/package.html index d5ab99fb60..4c0096d3c4 100644 --- a/src/java/org/apache/poi/ss/format/package.html +++ b/src/java/org/apache/poi/ss/format/package.html @@ -1,3 +1,26 @@ + + + + + This package contains classes that implement cell formatting +