Author: fanningpj
Date: Fri Feb 16 14:08:28 2018
New Revision: 1824489
URL: http://svn.apache.org/viewvc?rev=1824489&view=rev
Log:
add apache license to new examples due to rat check failures
Modified:
poi/trunk/src/examples/clojure/SpreadSheetDemo.clj
poi/trunk/src/examples/groovy/SpreadSheetDemo.groovy
poi/trunk/src/examples/groovy/build.gradle
poi/trunk/src/examples/scala/XSSFMain.scala
poi/trunk/src/examples/scala/build.sbt
Modified: poi/trunk/src/examples/clojure/SpreadSheetDemo.clj
URL:
http://svn.apache.org/viewvc/poi/trunk/src/examples/clojure/SpreadSheetDemo.clj?rev=1824489&r1=1824488&r2=1824489&view=diff
==============================================================================
--- poi/trunk/src/examples/clojure/SpreadSheetDemo.clj (original)
+++ poi/trunk/src/examples/clojure/SpreadSheetDemo.clj Fri Feb 16 14:08:28 2018
@@ -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.
+==================================================================== */
+
(ns poi.core
(:gen-class)
(:use [clojure.java.io :only [input-stream]])
Modified: poi/trunk/src/examples/groovy/SpreadSheetDemo.groovy
URL:
http://svn.apache.org/viewvc/poi/trunk/src/examples/groovy/SpreadSheetDemo.groovy?rev=1824489&r1=1824488&r2=1824489&view=diff
==============================================================================
--- poi/trunk/src/examples/groovy/SpreadSheetDemo.groovy (original)
+++ poi/trunk/src/examples/groovy/SpreadSheetDemo.groovy Fri Feb 16 14:08:28
2018
@@ -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.
+==================================================================== */
+
import org.apache.poi.ss.usermodel.*
import org.apache.poi.ss.util.*
import java.io.File
Modified: poi/trunk/src/examples/groovy/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/src/examples/groovy/build.gradle?rev=1824489&r1=1824488&r2=1824489&view=diff
==============================================================================
--- poi/trunk/src/examples/groovy/build.gradle (original)
+++ poi/trunk/src/examples/groovy/build.gradle Fri Feb 16 14:08:28 2018
@@ -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.
+==================================================================== */
+
// Add the POI core and OOXML support dependencies into your gradle build,
// along with all of Groovy so it can run as a standalone script
apply plugin: 'groovy'
Modified: poi/trunk/src/examples/scala/XSSFMain.scala
URL:
http://svn.apache.org/viewvc/poi/trunk/src/examples/scala/XSSFMain.scala?rev=1824489&r1=1824488&r2=1824489&view=diff
==============================================================================
--- poi/trunk/src/examples/scala/XSSFMain.scala (original)
+++ poi/trunk/src/examples/scala/XSSFMain.scala Fri Feb 16 14:08:28 2018
@@ -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.
+==================================================================== */
+
// Import the required classes
import org.apache.poi.ss.usermodel.{WorkbookFactory, DataFormatter}
import java.io.{File, FileOutputStream}
Modified: poi/trunk/src/examples/scala/build.sbt
URL:
http://svn.apache.org/viewvc/poi/trunk/src/examples/scala/build.sbt?rev=1824489&r1=1824488&r2=1824489&view=diff
==============================================================================
--- poi/trunk/src/examples/scala/build.sbt (original)
+++ poi/trunk/src/examples/scala/build.sbt Fri Feb 16 14:08:28 2018
@@ -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.
+==================================================================== */
+
// Add the POI core and OOXML support dependencies into your build.sbt
libraryDependencies ++= Seq(
"org.apache.poi" % "poi" % "3.17",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]