You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2015/12/31 16:14:40 UTC

[1/2] incubator-freemarker git commit: Added Rat task to build.xml

Repository: incubator-freemarker
Updated Branches:
  refs/heads/2.3-gae 8a259d463 -> 1334cd9bd


Added Rat task to build.xml


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/0cfd13df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/0cfd13df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/0cfd13df

Branch: refs/heads/2.3-gae
Commit: 0cfd13df3f8db1ba7ce4788486b2630a4552ee39
Parents: 8a259d4
Author: ddekany <dd...@apache.org>
Authored: Thu Dec 31 14:13:19 2015 +0100
Committer: ddekany <dd...@apache.org>
Committed: Thu Dec 31 14:13:19 2015 +0100

----------------------------------------------------------------------
 build.xml | 17 +++++++++++++++++
 ivy.xml   |  8 +++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/0cfd13df/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 62e2156..416225e 100644
--- a/build.xml
+++ b/build.xml
@@ -23,6 +23,7 @@
   xmlns:javacc="http://javacc.dev.java.net/"
   xmlns:docgen="http://freemarker.org/docgen"
   xmlns:bnd="http://www.aqute.biz/bnd"
+  xmlns:rat="antlib:org.apache.rat.anttasks"
   xmlns:u="http://freemarker.org/util"
 >
 
@@ -1137,6 +1138,22 @@ Proceed? </input>
     </ivy:publish>
     <delete file="build/ivy.xml" />  <!-- ivy:publish makes this -->
   </target>
+  
+  <target name="rat">
+    <ivy:cachepath conf="rat" pathid="ivy.dep" />
+    <taskdef
+      uri="antlib:org.apache.rat.anttasks"
+      resource="org/apache/rat/anttasks/antlib.xml"
+      classpathref="ivy.dep"
+    />  
+    
+    <rat:report reportFile="build/rat-report.txt">
+        <fileset dir="src"/>
+    </rat:report>
+    <echo level="info"><!--
+    -->Rat report was written into build/rat-report.txt<!--
+    --></echo>
+  </target>
 
   <target name="archive" depends=""
     description='Archives project with Git repo into the "archive" directory.'

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/0cfd13df/ivy.xml
----------------------------------------------------------------------
diff --git a/ivy.xml b/ivy.xml
index 71f1de4..5aaf379 100644
--- a/ivy.xml
+++ b/ivy.xml
@@ -81,7 +81,9 @@
     <conf name="parser" extends="default" description="for generating parser" />
     
     <conf name="manual" description="for generating the manual with Docgen" />
-    
+
+    <conf name="rat" description="for generating the Rat report" />
+
     <conf name="bnd" description="for creating OSGi bundle" />
     
     <conf name="example.servlet" description="servlet-based examples" />
@@ -176,7 +178,11 @@
     <!-- bnd -->
     
     <dependency org="biz.aQute" name="bnd" rev="1.50.0" conf="bnd->default" />
+
+    <!-- Rat -->
     
+    <dependency org="org.apache.rat" name="apache-rat-tasks" rev="0.11" conf="rat->default" />
+
     <!-- As the tests *run* on Ant, so it's a provided dependency there. -->
     <exclude org="ant" module="ant" conf="run.test" />
     


[2/2] incubator-freemarker git commit: Added copyright comment to HTML files

Posted by dd...@apache.org.
Added copyright comment to HTML files


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/1334cd9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/1334cd9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/1334cd9b

Branch: refs/heads/2.3-gae
Commit: 1334cd9bdf8997c9522ed3f5bdb861bf8c48e87e
Parents: 0cfd13d
Author: ddekany <dd...@apache.org>
Authored: Thu Dec 31 16:14:21 2015 +0100
Committer: ddekany <dd...@apache.org>
Committed: Thu Dec 31 16:14:21 2015 +0100

----------------------------------------------------------------------
 src/dist/documentation/index.html                 | 18 ++++++++++++++++++
 src/examples/struts-webapp/help.html              | 18 ++++++++++++++++++
 src/examples/webapp1/help.html                    | 18 ++++++++++++++++++
 src/examples/webapp2/help.html                    | 18 ++++++++++++++++++
 src/main/java/freemarker/cache/package.html       | 18 ++++++++++++++++++
 src/main/java/freemarker/core/package.html        | 18 ++++++++++++++++++
 src/main/java/freemarker/debug/package.html       | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/ant/package.html     | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/beans/package.html   | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/dom/package.html     | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/jdom/package.html    | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/jsp/package.html     | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/jython/package.html  | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/package.html         | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/rhino/package.html   | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/servlet/package.html | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/util/package.html    | 18 ++++++++++++++++++
 src/main/java/freemarker/ext/xml/package.html     | 18 ++++++++++++++++++
 src/main/java/freemarker/log/package.html         | 18 ++++++++++++++++++
 src/main/java/freemarker/template/package.html    | 18 ++++++++++++++++++
 .../java/freemarker/template/utility/package.html | 18 ++++++++++++++++++
 src/manual/en_US/docgen-misc/googleAnalytics.html |  5 +++++
 src/test/java/freemarker/test/package.html        | 18 ++++++++++++++++++
 .../freemarker/test/templatesuite/package.html    | 18 ++++++++++++++++++
 24 files changed, 419 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/dist/documentation/index.html
----------------------------------------------------------------------
diff --git a/src/dist/documentation/index.html b/src/dist/documentation/index.html
index 24339bb..933b9c8 100644
--- a/src/dist/documentation/index.html
+++ b/src/dist/documentation/index.html
@@ -1,4 +1,22 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+  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.
+-->
 
 <html lang="hu">
 

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/examples/struts-webapp/help.html
----------------------------------------------------------------------
diff --git a/src/examples/struts-webapp/help.html b/src/examples/struts-webapp/help.html
index fe29769..740bee8 100644
--- a/src/examples/struts-webapp/help.html
+++ b/src/examples/struts-webapp/help.html
@@ -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.
+-->
 <html>
 <head>
   <title>FreeMarker Struts Example - Help</title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/examples/webapp1/help.html
----------------------------------------------------------------------
diff --git a/src/examples/webapp1/help.html b/src/examples/webapp1/help.html
index d82886e..2b777d2 100644
--- a/src/examples/webapp1/help.html
+++ b/src/examples/webapp1/help.html
@@ -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.
+-->
 <html>
 <head>
   <title>FreeMarker Example Web Application 1 - Help</title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/examples/webapp2/help.html
----------------------------------------------------------------------
diff --git a/src/examples/webapp2/help.html b/src/examples/webapp2/help.html
index a88236e..c8d8fed 100644
--- a/src/examples/webapp2/help.html
+++ b/src/examples/webapp2/help.html
@@ -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.
+-->
 <html>
 <head>
   <title>FreeMarker Example Web Application 2 - Help</title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/cache/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/cache/package.html b/src/main/java/freemarker/cache/package.html
index f8b3353..bf806df 100644
--- a/src/main/java/freemarker/cache/package.html
+++ b/src/main/java/freemarker/cache/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/core/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/core/package.html b/src/main/java/freemarker/core/package.html
index 0f6b825..15c389f 100644
--- a/src/main/java/freemarker/core/package.html
+++ b/src/main/java/freemarker/core/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/debug/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/debug/package.html b/src/main/java/freemarker/debug/package.html
index 11e5da7..bc8bb81 100644
--- a/src/main/java/freemarker/debug/package.html
+++ b/src/main/java/freemarker/debug/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/ant/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/ant/package.html b/src/main/java/freemarker/ext/ant/package.html
index e4e0c57..16d3343 100644
--- a/src/main/java/freemarker/ext/ant/package.html
+++ b/src/main/java/freemarker/ext/ant/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/beans/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/beans/package.html b/src/main/java/freemarker/ext/beans/package.html
index 263dabd..2032969 100644
--- a/src/main/java/freemarker/ext/beans/package.html
+++ b/src/main/java/freemarker/ext/beans/package.html
@@ -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.
+-->
 <html>
 <head>
 <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/dom/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/dom/package.html b/src/main/java/freemarker/ext/dom/package.html
index cf7dbb3..a3518ff 100644
--- a/src/main/java/freemarker/ext/dom/package.html
+++ b/src/main/java/freemarker/ext/dom/package.html
@@ -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.
+-->
 <html>
 <head>
 <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/jdom/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/jdom/package.html b/src/main/java/freemarker/ext/jdom/package.html
index 97603e7..dba93d8 100644
--- a/src/main/java/freemarker/ext/jdom/package.html
+++ b/src/main/java/freemarker/ext/jdom/package.html
@@ -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.
+-->
 <html>
 <head>
 <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/jsp/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/jsp/package.html b/src/main/java/freemarker/ext/jsp/package.html
index a2ec8d3..23a891b 100644
--- a/src/main/java/freemarker/ext/jsp/package.html
+++ b/src/main/java/freemarker/ext/jsp/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/jython/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/jython/package.html b/src/main/java/freemarker/ext/jython/package.html
index 28a4914..b979552 100644
--- a/src/main/java/freemarker/ext/jython/package.html
+++ b/src/main/java/freemarker/ext/jython/package.html
@@ -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.
+-->
 <html>
 <head>
 <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/package.html b/src/main/java/freemarker/ext/package.html
index 5ff6bb1..0f45e3f 100644
--- a/src/main/java/freemarker/ext/package.html
+++ b/src/main/java/freemarker/ext/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/rhino/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/rhino/package.html b/src/main/java/freemarker/ext/rhino/package.html
index db0eae7..ede49a8 100644
--- a/src/main/java/freemarker/ext/rhino/package.html
+++ b/src/main/java/freemarker/ext/rhino/package.html
@@ -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.
+-->
 <html>
 <head>
 <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/servlet/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/servlet/package.html b/src/main/java/freemarker/ext/servlet/package.html
index b6fbd65..08f5267 100644
--- a/src/main/java/freemarker/ext/servlet/package.html
+++ b/src/main/java/freemarker/ext/servlet/package.html
@@ -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.
+-->
 <html>
 <body>
 <p>Servlet for legacy "Model 2" frameworks that allows using FreeMarker

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/util/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/util/package.html b/src/main/java/freemarker/ext/util/package.html
index aa09423..31c6092 100644
--- a/src/main/java/freemarker/ext/util/package.html
+++ b/src/main/java/freemarker/ext/util/package.html
@@ -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.
+-->
 <html>
 <body>
 <p>Various classes used by {@code freemarker.ext} but might be useful outside it too.</p>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/ext/xml/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/ext/xml/package.html b/src/main/java/freemarker/ext/xml/package.html
index bfd2b4a..0fd228b 100644
--- a/src/main/java/freemarker/ext/xml/package.html
+++ b/src/main/java/freemarker/ext/xml/package.html
@@ -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.
+-->
 <html>
 <head>
 <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/log/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/log/package.html b/src/main/java/freemarker/log/package.html
index d6ed900..afc773c 100644
--- a/src/main/java/freemarker/log/package.html
+++ b/src/main/java/freemarker/log/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/template/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/template/package.html b/src/main/java/freemarker/template/package.html
index 567461d..e81035a 100644
--- a/src/main/java/freemarker/template/package.html
+++ b/src/main/java/freemarker/template/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/main/java/freemarker/template/utility/package.html
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/template/utility/package.html b/src/main/java/freemarker/template/utility/package.html
index d5e2fac..03f8132 100644
--- a/src/main/java/freemarker/template/utility/package.html
+++ b/src/main/java/freemarker/template/utility/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/manual/en_US/docgen-misc/googleAnalytics.html
----------------------------------------------------------------------
diff --git a/src/manual/en_US/docgen-misc/googleAnalytics.html b/src/manual/en_US/docgen-misc/googleAnalytics.html
index bf440f2..759564e 100644
--- a/src/manual/en_US/docgen-misc/googleAnalytics.html
+++ b/src/manual/en_US/docgen-misc/googleAnalytics.html
@@ -1,3 +1,8 @@
+<!--
+  This snippet was generated by Google Analytics.
+  Thus, the standard FreeMarker copyright comment was intentionally omitted.
+  <#DO_NOT_UPDATE_COPYRIGHT>
+-->
 <script>
   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/test/java/freemarker/test/package.html
----------------------------------------------------------------------
diff --git a/src/test/java/freemarker/test/package.html b/src/test/java/freemarker/test/package.html
index 109bb06..293c7b6 100644
--- a/src/test/java/freemarker/test/package.html
+++ b/src/test/java/freemarker/test/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/1334cd9b/src/test/java/freemarker/test/templatesuite/package.html
----------------------------------------------------------------------
diff --git a/src/test/java/freemarker/test/templatesuite/package.html b/src/test/java/freemarker/test/templatesuite/package.html
index f648929..80cb733 100644
--- a/src/test/java/freemarker/test/templatesuite/package.html
+++ b/src/test/java/freemarker/test/templatesuite/package.html
@@ -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.
+-->
 <html>
 <head>
 </head>