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 01:14:50 UTC
[6/7] incubator-freemarker git commit: Added copyright headers to
ftl/ftlx/ftlh files (used in tests an examples).
Added copyright headers to ftl/ftlx/ftlh files (used in tests an examples).
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/559381f3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/559381f3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/559381f3
Branch: refs/heads/2.3
Commit: 559381f38766c077d95e4dc1c9be97cd1a216876
Parents: 9ee209e
Author: ddekany <dd...@apache.org>
Authored: Thu Dec 31 01:12:02 2015 +0100
Committer: ddekany <dd...@apache.org>
Committed: Thu Dec 31 01:12:02 2015 +0100
----------------------------------------------------------------------
src/examples/ant/src/template/faq2html.ftl | 18 ++++++++++++++++++
src/examples/struts-webapp/add.ftl | 18 ++++++++++++++++++
src/examples/struts-webapp/form.ftl | 18 ++++++++++++++++++
src/examples/struts-webapp/index.ftl | 18 ++++++++++++++++++
src/examples/struts-webapp/lib/common.ftl | 18 ++++++++++++++++++
src/examples/webapp1/WEB-INF/templates/test.ftl | 18 ++++++++++++++++++
src/examples/webapp2/WEB-INF/templates/add.ftl | 18 ++++++++++++++++++
src/examples/webapp2/WEB-INF/templates/form.ftl | 18 ++++++++++++++++++
src/examples/webapp2/WEB-INF/templates/index.ftl | 18 ++++++++++++++++++
.../webapp2/WEB-INF/templates/lib/common.ftl | 18 ++++++++++++++++++
.../misc/overloadedNumberRules/generator.ftl | 18 ++++++++++++++++++
src/test/resources/freemarker/cache/test.ftl | 18 ++++++++++++++++++
src/test/resources/freemarker/core/ast-1.ftl | 18 ++++++++++++++++++
.../freemarker/core/ast-assignments.ftl | 18 ++++++++++++++++++
.../resources/freemarker/core/ast-builtins.ftl | 18 ++++++++++++++++++
.../resources/freemarker/core/ast-locations.ftl | 18 ++++++++++++++++++
.../core/ast-mixedcontentsimplifications.ftl | 18 ++++++++++++++++++
.../core/ast-multipleignoredchildren.ftl | 18 ++++++++++++++++++
.../core/ast-nestedignoredchildren.ftl | 18 ++++++++++++++++++
src/test/resources/freemarker/core/ast-range.ftl | 18 ++++++++++++++++++
.../freemarker/core/ast-strlitinterpolation.ftl | 18 ++++++++++++++++++
.../freemarker/core/ast-whitesoacestripping.ftl | 18 ++++++++++++++++++
.../core/cano-assignments-canonical.ftl | 18 ++++++++++++++++++
.../freemarker/core/cano-assignments.ftl | 18 ++++++++++++++++++
.../freemarker/core/cano-builtins-canonical.ftl | 19 ++++++++++++++++++-
.../resources/freemarker/core/cano-builtins.ftl | 18 ++++++++++++++++++
.../core/cano-identifier-escaping-canonical.ftl | 19 ++++++++++++++++++-
.../freemarker/core/cano-identifier-escaping.ftl | 18 ++++++++++++++++++
.../freemarker/core/cano-macros-canonical.ftl | 18 ++++++++++++++++++
.../resources/freemarker/core/cano-macros.ftl | 18 ++++++++++++++++++
.../core/cano-strlitinterpolation-canonical.ftl | 19 ++++++++++++++++++-
.../freemarker/core/cano-strlitinterpolation.ftl | 18 ++++++++++++++++++
.../core/encodingOverride-ISO-8859-1.ftl | 18 ++++++++++++++++++
.../freemarker/core/encodingOverride-UTF-8.ftl | 18 ++++++++++++++++++
.../ext/jsp/templates/classpath-test.ftl | 18 ++++++++++++++++++
.../ext/jsp/webapps/basic/attributes.ftl | 18 ++++++++++++++++++
.../ext/jsp/webapps/basic/customELFunctions1.ftl | 18 ++++++++++++++++++
.../ext/jsp/webapps/basic/customTags1.ftl | 18 ++++++++++++++++++
.../jsp/webapps/basic/trivial-jstl-@Ignore.ftl | 18 ++++++++++++++++++
.../freemarker/ext/jsp/webapps/basic/trivial.ftl | 18 ++++++++++++++++++
.../webapps/config/WEB-INF/classes/sub/test.ftl | 18 ++++++++++++++++++
.../jsp/webapps/config/WEB-INF/classes/test.ftl | 18 ++++++++++++++++++
.../webapps/config/WEB-INF/templates/test.ftl | 18 ++++++++++++++++++
.../freemarker/ext/jsp/webapps/config/test.ftl | 18 ++++++++++++++++++
.../ext/jsp/webapps/errors/failing-runtime.ftl | 18 ++++++++++++++++++
.../ext/jsp/webapps/errors/not-failing.ftl | 18 ++++++++++++++++++
.../multipleLoaders/WEB-INF/templates/test.ftl | 18 ++++++++++++++++++
.../jsp/webapps/tldDiscovery/subdir/test-rel.ftl | 18 ++++++++++++++++++
.../webapps/tldDiscovery/test-noClasspath.ftl | 18 ++++++++++++++++++
.../ext/jsp/webapps/tldDiscovery/test1.ftl | 18 ++++++++++++++++++
.../manual/AutoEscapingExample-capture.ftlh | 18 ++++++++++++++++++
.../manual/AutoEscapingExample-convert.ftlh | 18 ++++++++++++++++++
.../manual/AutoEscapingExample-convert2.ftl | 18 ++++++++++++++++++
.../manual/AutoEscapingExample-infoBox.ftlh | 18 ++++++++++++++++++
.../manual/AutoEscapingExample-markup.ftlh | 18 ++++++++++++++++++
.../manual/AutoEscapingExample-stringConcat.ftlh | 18 ++++++++++++++++++
.../AutoEscapingExample-stringLiteral.ftlh | 18 ++++++++++++++++++
.../AutoEscapingExample-stringLiteral2.ftlh | 18 ++++++++++++++++++
.../manual/CustomFormatsExample-alias1.ftlh | 18 ++++++++++++++++++
.../manual/CustomFormatsExample-alias2.ftlh | 18 ++++++++++++++++++
.../manual/CustomFormatsExample-modelAware.ftlh | 18 ++++++++++++++++++
src/test/resources/freemarker/manual/test.ftlh | 18 ++++++++++++++++++
.../resources/freemarker/template/toCache1.ftl | 18 ++++++++++++++++++
.../resources/freemarker/template/toCache2.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/api-builtins.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/arithmetic.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/assignments.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/bean-maps.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/beans.ftl | 18 ++++++++++++++++++
.../templates/boolean-formatting.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/boolean.ftl | 18 ++++++++++++++++++
.../templates/charset-in-header.ftl | 18 ++++++++++++++++++
.../templates/charset-in-header_inc1.ftl | 18 ++++++++++++++++++
.../templates/charset-in-header_inc2.ftl | 18 ++++++++++++++++++
.../templates/classic-compatible-mode2.ftl | 18 ++++++++++++++++++
.../templates/classic-compatible.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/comment.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/comparisons.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/compress.ftl | 18 ++++++++++++++++++
.../templates/date-type-builtins.ftl | 18 ++++++++++++++++++
.../templates/dateformat-iso-bi-common.ftl | 18 ++++++++++++++++++
.../templates/dateformat-iso-bi-ici-2.3.21.ftl | 18 ++++++++++++++++++
.../templates/dateformat-iso-bi.ftl | 18 ++++++++++++++++++
.../templates/dateformat-iso-like.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/dateformat-java.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/dateparsing.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/default-xmlns.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/default.ftl | 18 ++++++++++++++++++
.../templates/encoding-builtins.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/escapes.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/exception.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/exception2.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/exception3.ftl | 18 ++++++++++++++++++
.../templates/existence-operators.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/exthash.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/hashconcat.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/hashliteral.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/helloworld.ftl | 18 ++++++++++++++++++
.../templates/identifier-escaping.ftl | 18 ++++++++++++++++++
.../templates/identifier-non-ascii.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/if.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/import.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/import_lib.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/include.ftl | 18 ++++++++++++++++++
.../templates/include2-included-encoding.ftl | 18 ++++++++++++++++++
.../templates/include2-included.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/include2.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/included.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/interpret.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/iterators.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/lastcharacter.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/list-bis.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/list.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/list2.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/list3.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/listliteral.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/localization.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/localization_en.ftl | 18 ++++++++++++++++++
.../templates/localization_en_AU.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/logging.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/loopvariable.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/macros-return.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/macros.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/macros2.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/multimodels.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/nested.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/nestedinclude.ftl | 18 ++++++++++++++++++
.../templates/new-allowsnothing.ftl | 18 ++++++++++++++++++
.../templates/new-defaultresolver.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/new-optin.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/new-safer.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/new-unrestricted.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/newlines1.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/newlines2.ftl | 18 ++++++++++++++++++
.../templates/non-strict-syntax.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/noparse.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/number-format.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/number-literal.ftl | 18 ++++++++++++++++++
.../templates/number-math-builtins.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/number-to-date.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/numerical-cast.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/output-encoding1.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/output-encoding2.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/output-encoding3.ftl | 18 ++++++++++++++++++
.../overloaded-methods-2-bwici-2.3.20.ftl | 18 ++++++++++++++++++
.../overloaded-methods-2-bwici-2.3.21.ftl | 18 ++++++++++++++++++
.../templates/overloaded-methods-2-common.ftl | 18 ++++++++++++++++++
.../overloaded-methods-2-desc-bwici-2.3.20.ftl | 18 ++++++++++++++++++
.../overloaded-methods-2-inc-bwici-2.3.20.ftl | 18 ++++++++++++++++++
.../templates/overloaded-methods-23bc.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/precedence.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/range-common.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/range-ici-2.3.20.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/range-ici-2.3.21.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/recover.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/root.ftl | 18 ++++++++++++++++++
.../templates/sequence-builtins.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/setting.ftl | 18 ++++++++++++++++++
.../templates/simplehash-char-key.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/specialvars.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/strictinheader.ftl | 18 ++++++++++++++++++
.../templates/strictinheader_inc1.ftl | 18 ++++++++++++++++++
.../templates/strictinheader_inc2.ftl | 18 ++++++++++++++++++
.../templates/string-builtin-coercion.ftl | 18 ++++++++++++++++++
.../templates/string-builtins-ici-2.3.19.ftl | 18 ++++++++++++++++++
.../templates/string-builtins-ici-2.3.20.ftl | 18 ++++++++++++++++++
.../string-builtins-regexps-matches.ftl | 18 ++++++++++++++++++
.../templates/string-builtins-regexps.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/string-builtins1.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/string-builtins2.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/string-builtins3.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/stringbimethods.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/stringliteral.ftl | 18 ++++++++++++++++++
.../templates/subdir/include-subdir.ftl | 18 ++++++++++++++++++
.../templates/subdir/include-subdir2.ftl | 18 ++++++++++++++++++
.../templates/subdir/new-optin-2.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/subdir/new-optin.ftl | 18 ++++++++++++++++++
.../templates/subdir/subsub/new-optin.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/switch-builtin.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/switch.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/then-builtin.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/transforms.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/type-builtins.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/undefined.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/url.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/var-layers.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/varargs.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/variables.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/varlayers_lib.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/whitespace-trim.ftl | 18 ++++++++++++++++++
.../templates/wsstripinheader_inc.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/wstrip-in-header.ftl | 18 ++++++++++++++++++
.../templatesuite/templates/xml-fragment.ftl | 18 ++++++++++++++++++
.../templates/xml-ns_prefix-scope-lib.ftl | 18 ++++++++++++++++++
.../templates/xml-ns_prefix-scope-main.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/xml.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/xmlns1.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/xmlns3.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/xmlns4.ftl | 18 ++++++++++++++++++
.../test/templatesuite/templates/xmlns5.ftl | 18 ++++++++++++++++++
200 files changed, 3600 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/ant/src/template/faq2html.ftl
----------------------------------------------------------------------
diff --git a/src/examples/ant/src/template/faq2html.ftl b/src/examples/ant/src/template/faq2html.ftl
index 3012554..fb6a8ca 100644
--- a/src/examples/ant/src/template/faq2html.ftl
+++ b/src/examples/ant/src/template/faq2html.ftl
@@ -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.
+-->
<#escape x as x?html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/struts-webapp/add.ftl
----------------------------------------------------------------------
diff --git a/src/examples/struts-webapp/add.ftl b/src/examples/struts-webapp/add.ftl
index 6f5b4a4..e1c09b9 100644
--- a/src/examples/struts-webapp/add.ftl
+++ b/src/examples/struts-webapp/add.ftl
@@ -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.
+-->
<#import "/lib/common.ftl" as com>
<#escape x as x?html>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/struts-webapp/form.ftl
----------------------------------------------------------------------
diff --git a/src/examples/struts-webapp/form.ftl b/src/examples/struts-webapp/form.ftl
index f2f7133..ee92da1 100644
--- a/src/examples/struts-webapp/form.ftl
+++ b/src/examples/struts-webapp/form.ftl
@@ -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.
+-->
<#import "/lib/common.ftl" as com>
<#global html=JspTaglibs["/WEB-INF/struts-html.tld"]>
<#escape x as x?html>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/struts-webapp/index.ftl
----------------------------------------------------------------------
diff --git a/src/examples/struts-webapp/index.ftl b/src/examples/struts-webapp/index.ftl
index bcf77d5..531017c 100644
--- a/src/examples/struts-webapp/index.ftl
+++ b/src/examples/struts-webapp/index.ftl
@@ -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.
+-->
<#import "/lib/common.ftl" as com>
<#escape x as x?html>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/struts-webapp/lib/common.ftl
----------------------------------------------------------------------
diff --git a/src/examples/struts-webapp/lib/common.ftl b/src/examples/struts-webapp/lib/common.ftl
index 05128c8..57d11be 100644
--- a/src/examples/struts-webapp/lib/common.ftl
+++ b/src/examples/struts-webapp/lib/common.ftl
@@ -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.
+-->
<#macro page title>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/webapp1/WEB-INF/templates/test.ftl
----------------------------------------------------------------------
diff --git a/src/examples/webapp1/WEB-INF/templates/test.ftl b/src/examples/webapp1/WEB-INF/templates/test.ftl
index 49bd998..4a63c14 100644
--- a/src/examples/webapp1/WEB-INF/templates/test.ftl
+++ b/src/examples/webapp1/WEB-INF/templates/test.ftl
@@ -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</title>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/webapp2/WEB-INF/templates/add.ftl
----------------------------------------------------------------------
diff --git a/src/examples/webapp2/WEB-INF/templates/add.ftl b/src/examples/webapp2/WEB-INF/templates/add.ftl
index 0dff5eb..58777b6 100644
--- a/src/examples/webapp2/WEB-INF/templates/add.ftl
+++ b/src/examples/webapp2/WEB-INF/templates/add.ftl
@@ -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.
+-->
<#import "/lib/common.ftl" as com>
<#escape x as x?html>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/webapp2/WEB-INF/templates/form.ftl
----------------------------------------------------------------------
diff --git a/src/examples/webapp2/WEB-INF/templates/form.ftl b/src/examples/webapp2/WEB-INF/templates/form.ftl
index 77e186e..69b9b66 100644
--- a/src/examples/webapp2/WEB-INF/templates/form.ftl
+++ b/src/examples/webapp2/WEB-INF/templates/form.ftl
@@ -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.
+-->
<#import "/lib/common.ftl" as com>
<#escape x as x?html>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/webapp2/WEB-INF/templates/index.ftl
----------------------------------------------------------------------
diff --git a/src/examples/webapp2/WEB-INF/templates/index.ftl b/src/examples/webapp2/WEB-INF/templates/index.ftl
index 9a0ceae..92ae90d 100644
--- a/src/examples/webapp2/WEB-INF/templates/index.ftl
+++ b/src/examples/webapp2/WEB-INF/templates/index.ftl
@@ -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.
+-->
<#import "/lib/common.ftl" as com>
<#escape x as x?html>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/examples/webapp2/WEB-INF/templates/lib/common.ftl
----------------------------------------------------------------------
diff --git a/src/examples/webapp2/WEB-INF/templates/lib/common.ftl b/src/examples/webapp2/WEB-INF/templates/lib/common.ftl
index 550ded4..c6c43ae 100644
--- a/src/examples/webapp2/WEB-INF/templates/lib/common.ftl
+++ b/src/examples/webapp2/WEB-INF/templates/lib/common.ftl
@@ -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.
+-->
<#macro page title>
<html>
<head>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/main/misc/overloadedNumberRules/generator.ftl
----------------------------------------------------------------------
diff --git a/src/main/misc/overloadedNumberRules/generator.ftl b/src/main/misc/overloadedNumberRules/generator.ftl
index bbd7463..31aec37 100644
--- a/src/main/misc/overloadedNumberRules/generator.ftl
+++ b/src/main/misc/overloadedNumberRules/generator.ftl
@@ -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.
+-->
static int getArgumentConversionPrice(Class fromC, Class toC) {
// DO NOT EDIT, generated code!
// See: src\main\misc\overloadedNumberRules\README.txt
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/cache/test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/cache/test.ftl b/src/test/resources/freemarker/cache/test.ftl
index 2995a4d..3a1f6b5 100644
--- a/src/test/resources/freemarker/cache/test.ftl
+++ b/src/test/resources/freemarker/cache/test.ftl
@@ -1 +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.
+-->
dummy
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-1.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-1.ftl b/src/test/resources/freemarker/core/ast-1.ftl
index 9070f4e..3f45dda 100644
--- a/src/test/resources/freemarker/core/ast-1.ftl
+++ b/src/test/resources/freemarker/core/ast-1.ftl
@@ -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.
+-->
1 <@foo x=1 y=2; b1, b2>x</...@foo>
2 <@ns.bar 1 2; b1, b2>y</@>
3 <#assign x = 123><#assign x = 123 in ns><#global x = 123>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-assignments.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-assignments.ftl b/src/test/resources/freemarker/core/ast-assignments.ftl
index d8b4633..fc5aaa5 100644
--- a/src/test/resources/freemarker/core/ast-assignments.ftl
+++ b/src/test/resources/freemarker/core/ast-assignments.ftl
@@ -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.
+-->
1 <#assign x = 1>
2 <#assign x = 1, y = 2>
3 <#assign x = 1 in ns>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-builtins.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-builtins.ftl b/src/test/resources/freemarker/core/ast-builtins.ftl
index b035549..06f65ad 100644
--- a/src/test/resources/freemarker/core/ast-builtins.ftl
+++ b/src/test/resources/freemarker/core/ast-builtins.ftl
@@ -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.
+-->
${x?trim}
${x?left_pad(5)}
${x?left_pad(5, '-')}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-locations.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-locations.ftl b/src/test/resources/freemarker/core/ast-locations.ftl
index 6f299c4..a8fdcd7 100644
--- a/src/test/resources/freemarker/core/ast-locations.ftl
+++ b/src/test/resources/freemarker/core/ast-locations.ftl
@@ -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.
+-->
<#if exp></#if>
<#if exp>1</#if>
<#if exp>${1}2</#if>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-mixedcontentsimplifications.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-mixedcontentsimplifications.ftl b/src/test/resources/freemarker/core/ast-mixedcontentsimplifications.ftl
index f83bdde..a11ffe7 100644
--- a/src/test/resources/freemarker/core/ast-mixedcontentsimplifications.ftl
+++ b/src/test/resources/freemarker/core/ast-mixedcontentsimplifications.ftl
@@ -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.
+-->
<#if true>
<#if true>
</#if>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-multipleignoredchildren.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-multipleignoredchildren.ftl b/src/test/resources/freemarker/core/ast-multipleignoredchildren.ftl
index 10b8d87..009962a 100644
--- a/src/test/resources/freemarker/core/ast-multipleignoredchildren.ftl
+++ b/src/test/resources/freemarker/core/ast-multipleignoredchildren.ftl
@@ -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.
+-->
a
<#compress></#compress>
b
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-nestedignoredchildren.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-nestedignoredchildren.ftl b/src/test/resources/freemarker/core/ast-nestedignoredchildren.ftl
index 2f6043a..9d2ed7a 100644
--- a/src/test/resources/freemarker/core/ast-nestedignoredchildren.ftl
+++ b/src/test/resources/freemarker/core/ast-nestedignoredchildren.ftl
@@ -1 +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.
+-->
<#outputFormat 'HTML'><#outputFormat 'HTML'><#outputFormat 'HTML'></#outputFormat></#outputFormat></#outputFormat>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-range.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-range.ftl b/src/test/resources/freemarker/core/ast-range.ftl
index cc493d2..f6c837b 100644
--- a/src/test/resources/freemarker/core/ast-range.ftl
+++ b/src/test/resources/freemarker/core/ast-range.ftl
@@ -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.
+-->
<#assign x = 0..>
<#assign x = 0..1>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-strlitinterpolation.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-strlitinterpolation.ftl b/src/test/resources/freemarker/core/ast-strlitinterpolation.ftl
index f67ba55..641f39c 100644
--- a/src/test/resources/freemarker/core/ast-strlitinterpolation.ftl
+++ b/src/test/resources/freemarker/core/ast-strlitinterpolation.ftl
@@ -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.
+-->
1. <@m x='${e1}' y='$\\{e2}' />
2. ${'a${x}b${x}c'}
3. ${'${x}b'}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/ast-whitesoacestripping.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/ast-whitesoacestripping.ftl b/src/test/resources/freemarker/core/ast-whitesoacestripping.ftl
index 5349852..af801fa 100644
--- a/src/test/resources/freemarker/core/ast-whitesoacestripping.ftl
+++ b/src/test/resources/freemarker/core/ast-whitesoacestripping.ftl
@@ -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.
+-->
<#assign xs = []>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-assignments-canonical.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-assignments-canonical.ftl b/src/test/resources/freemarker/core/cano-assignments-canonical.ftl
index 63389cf..4450b16 100644
--- a/src/test/resources/freemarker/core/cano-assignments-canonical.ftl
+++ b/src/test/resources/freemarker/core/cano-assignments-canonical.ftl
@@ -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.
+-->
<#assign x = 1>
<#assign x = 1, y = 2>
<#assign x = 1 in ns>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-assignments.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-assignments.ftl b/src/test/resources/freemarker/core/cano-assignments.ftl
index 74501f1..1719dd5 100644
--- a/src/test/resources/freemarker/core/cano-assignments.ftl
+++ b/src/test/resources/freemarker/core/cano-assignments.ftl
@@ -1,4 +1,22 @@
<#ftl stripWhitespace=false>
+<#--
+ 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.
+-->
<#assign x = 1>
<#assign x = 1, y = 2>
<#assign x = 1 in ns>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-builtins-canonical.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-builtins-canonical.ftl b/src/test/resources/freemarker/core/cano-builtins-canonical.ftl
index 8e5452b..74b15e8 100644
--- a/src/test/resources/freemarker/core/cano-builtins-canonical.ftl
+++ b/src/test/resources/freemarker/core/cano-builtins-canonical.ftl
@@ -1,4 +1,21 @@
-${x?trim}
+<#--
+ 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.
+-->${x?trim}
${x?left_pad(5)}
${x?left_pad(5, "-")}
${x?then("y", "n")}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-builtins.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-builtins.ftl b/src/test/resources/freemarker/core/cano-builtins.ftl
index b035549..06f65ad 100644
--- a/src/test/resources/freemarker/core/cano-builtins.ftl
+++ b/src/test/resources/freemarker/core/cano-builtins.ftl
@@ -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.
+-->
${x?trim}
${x?left_pad(5)}
${x?left_pad(5, '-')}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-identifier-escaping-canonical.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-identifier-escaping-canonical.ftl b/src/test/resources/freemarker/core/cano-identifier-escaping-canonical.ftl
index c5bdb73..7a696b1 100644
--- a/src/test/resources/freemarker/core/cano-identifier-escaping-canonical.ftl
+++ b/src/test/resources/freemarker/core/cano-identifier-escaping-canonical.ftl
@@ -1,4 +1,21 @@
-<#macro m\-a data\-color><#local \.namespace = 123><a-b>${data\-color}<#nested \.namespace></a-b></#macro><#macro m\-b2></#macro><#macro "m/b2"></#macro>
+<#--
+ 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.
+--><#macro m\-a data\-color><#local \.namespace = 123><a-b>${data\-color}<#nested \.namespace></a-b></#macro><#macro m\-b2></#macro><#macro "m/b2"></#macro>
<@m\-a data\-color="red"; loop\-var, loopVar2>${loop\-var}</@m\-a>
<#function f\-a(p\-a)><#return p\-a + " works"/></#function>${f\-a("f-a")}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-identifier-escaping.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-identifier-escaping.ftl b/src/test/resources/freemarker/core/cano-identifier-escaping.ftl
index 6f3d62a..01f1d3c 100644
--- a/src/test/resources/freemarker/core/cano-identifier-escaping.ftl
+++ b/src/test/resources/freemarker/core/cano-identifier-escaping.ftl
@@ -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.
+-->
<#macro m\-a data\-color>
<#local \.namespace = 123>
<a-b>${data\-color}<#nested \.namespace></a-b><#t>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-macros-canonical.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-macros-canonical.ftl b/src/test/resources/freemarker/core/cano-macros-canonical.ftl
index 1d039c2..6ed0de1 100644
--- a/src/test/resources/freemarker/core/cano-macros-canonical.ftl
+++ b/src/test/resources/freemarker/core/cano-macros-canonical.ftl
@@ -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.
+-->
<#macro m></#macro>
<#macro m a></#macro>
<#macro m a b></#macro>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-macros.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-macros.ftl b/src/test/resources/freemarker/core/cano-macros.ftl
index c573a96..bd6a780 100644
--- a/src/test/resources/freemarker/core/cano-macros.ftl
+++ b/src/test/resources/freemarker/core/cano-macros.ftl
@@ -1,4 +1,22 @@
<#ftl stripWhitespace=false>
+<#--
+ 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.
+-->
<#macro m></#macro>
<#macro m a></#macro>
<#macro m a b></#macro>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-strlitinterpolation-canonical.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-strlitinterpolation-canonical.ftl b/src/test/resources/freemarker/core/cano-strlitinterpolation-canonical.ftl
index 02099d2..a3cd33e 100644
--- a/src/test/resources/freemarker/core/cano-strlitinterpolation-canonical.ftl
+++ b/src/test/resources/freemarker/core/cano-strlitinterpolation-canonical.ftl
@@ -1 +1,18 @@
-<@m x="${e1 + \"a'b$\{x}\"}#{x ; m0M2}" y="$\{e2}"/>
\ No newline at end of file
+<#--
+ 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.
+--><@m x="${e1 + \"a'b$\{x}\"}#{x ; m0M2}" y="$\{e2}"/>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/cano-strlitinterpolation.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/cano-strlitinterpolation.ftl b/src/test/resources/freemarker/core/cano-strlitinterpolation.ftl
index 0a7805b..718aeec 100644
--- a/src/test/resources/freemarker/core/cano-strlitinterpolation.ftl
+++ b/src/test/resources/freemarker/core/cano-strlitinterpolation.ftl
@@ -1 +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.
+-->
<@m x='${e1 + "a\'b${x}"}#{x; M2}' y='$\{e2}' />
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/encodingOverride-ISO-8859-1.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/encodingOverride-ISO-8859-1.ftl b/src/test/resources/freemarker/core/encodingOverride-ISO-8859-1.ftl
index 7cc291b..99f336b 100644
--- a/src/test/resources/freemarker/core/encodingOverride-ISO-8859-1.ftl
+++ b/src/test/resources/freemarker/core/encodingOverride-ISO-8859-1.ftl
@@ -1,2 +1,20 @@
<#ftl encoding="ISO-8859-1">
+<#--
+ 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.
+-->
B�ka
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/core/encodingOverride-UTF-8.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/core/encodingOverride-UTF-8.ftl b/src/test/resources/freemarker/core/encodingOverride-UTF-8.ftl
index ab8ad6b..0c5401e 100644
--- a/src/test/resources/freemarker/core/encodingOverride-UTF-8.ftl
+++ b/src/test/resources/freemarker/core/encodingOverride-UTF-8.ftl
@@ -1,2 +1,20 @@
<#ftl encoding="UTF-8">
+<#--
+ 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.
+-->
Béka
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/templates/classpath-test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/templates/classpath-test.ftl b/src/test/resources/freemarker/ext/jsp/templates/classpath-test.ftl
index e32e622..0180281 100644
--- a/src/test/resources/freemarker/ext/jsp/templates/classpath-test.ftl
+++ b/src/test/resources/freemarker/ext/jsp/templates/classpath-test.ftl
@@ -1 +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.
+-->
In classpath-test.ftl
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/basic/attributes.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/attributes.ftl b/src/test/resources/freemarker/ext/jsp/webapps/basic/attributes.ftl
index 4ba62cb..dd05b27 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/basic/attributes.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/attributes.ftl
@@ -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.
+-->
<#assign t = JspTaglibs["http://freemarker.org/test/taglibs/test"]>
a1: ${a1!'-'}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/basic/customELFunctions1.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/customELFunctions1.ftl b/src/test/resources/freemarker/ext/jsp/webapps/basic/customELFunctions1.ftl
index 89b0d4f..6e071a3 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/basic/customELFunctions1.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/customELFunctions1.ftl
@@ -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.
+-->
<#assign ef = JspTaglibs["http://freemarker.org/test/taglibs/el-functions"]>
${ef.reverse("abc")}
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/basic/customTags1.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/customTags1.ftl b/src/test/resources/freemarker/ext/jsp/webapps/basic/customTags1.ftl
index 061d2d1..62ae7c7 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/basic/customTags1.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/customTags1.ftl
@@ -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.
+-->
<#assign t = JspTaglibs["http://freemarker.org/test/taglibs/test"]>
<!-- Test repeated execution -->
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial-jstl-@Ignore.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial-jstl-@Ignore.ftl b/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial-jstl-@Ignore.ftl
index ed56093..b81f7c4 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial-jstl-@Ignore.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial-jstl-@Ignore.ftl
@@ -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.
+-->
<#-- @Ignore: c:forEach fails because of EL context issues -->
<#assign
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial.ftl b/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial.ftl
index 5a6a243..ec2710d 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/trivial.ftl
@@ -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.
+-->
${n + 1}
<#-- Instead of JSTL: -->
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/sub/test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/sub/test.ftl b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/sub/test.ftl
index 3ebf4a6..ae05634 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/sub/test.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/sub/test.ftl
@@ -1 +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.
+-->
from /WEB-INF/classes/sub
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/test.ftl b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/test.ftl
index 452ece6..57186a2 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/test.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/classes/test.ftl
@@ -1 +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.
+-->
from /WEB-INF/classes
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/templates/test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/templates/test.ftl b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/templates/test.ftl
index 725fa1b..0f06309 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/templates/test.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/templates/test.ftl
@@ -1 +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.
+-->
from /WEB-INF/templates
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/config/test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/config/test.ftl b/src/test/resources/freemarker/ext/jsp/webapps/config/test.ftl
index 38d8af4..49a80f2 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/config/test.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/config/test.ftl
@@ -1 +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.
+-->
from /
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/errors/failing-runtime.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/errors/failing-runtime.ftl b/src/test/resources/freemarker/ext/jsp/webapps/errors/failing-runtime.ftl
index df15a2c..04bc8aa 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/errors/failing-runtime.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/errors/failing-runtime.ftl
@@ -1,4 +1,22 @@
<#--
+ 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.
+-->
+<#--
<#attempt>
${noSuchVariableInAttempt}
<#recover>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/errors/not-failing.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/errors/not-failing.ftl b/src/test/resources/freemarker/ext/jsp/webapps/errors/not-failing.ftl
index 1910281..be33775 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/errors/not-failing.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/errors/not-failing.ftl
@@ -1 +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.
+-->
foo
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/templates/test.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/templates/test.ftl b/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/templates/test.ftl
index 424be2d..5eb7864 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/templates/test.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/templates/test.ftl
@@ -1 +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.
+-->
In test.ftl
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/subdir/test-rel.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/subdir/test-rel.ftl b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/subdir/test-rel.ftl
index 34a731e..870eae4 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/subdir/test-rel.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/subdir/test-rel.ftl
@@ -1,2 +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.
+-->
<@JspTaglibs["taglib"].simpletag />
<@JspTaglibs["taglib"].simpletag />
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test-noClasspath.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test-noClasspath.ftl b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test-noClasspath.ftl
index 848f142..1616bef 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test-noClasspath.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test-noClasspath.ftl
@@ -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.
+-->
<!-- Test loading from web.xml-mapped JAR -->
<#assign tl2 = JspTaglibs["http://freemarker.sf.net/taglibs/freemarker-junit-test-tag-2.2-2"]>
<@tl2.testtag></@>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test1.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test1.ftl b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test1.ftl
index 5eceebf..7fd620f 100644
--- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test1.ftl
+++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/test1.ftl
@@ -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.
+-->
<!-- Test loading from web.xml-mapped JAR -->
<@JspTaglibs["http://freemarker.sf.net/taglibs/freemarker-junit-test-tag-2.2"].simpletag bodyLoopCount=1 name="simpletag1">
foo
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/manual/AutoEscapingExample-capture.ftlh
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/manual/AutoEscapingExample-capture.ftlh b/src/test/resources/freemarker/manual/AutoEscapingExample-capture.ftlh
index d371b44..61cd076 100644
--- a/src/test/resources/freemarker/manual/AutoEscapingExample-capture.ftlh
+++ b/src/test/resources/freemarker/manual/AutoEscapingExample-capture.ftlh
@@ -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.
+-->
<#assign captured><b>Test</b></#assign>
Just a string: ${"<b>Test</b>"}
Captured output: ${captured}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/559381f3/src/test/resources/freemarker/manual/AutoEscapingExample-convert.ftlh
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/manual/AutoEscapingExample-convert.ftlh b/src/test/resources/freemarker/manual/AutoEscapingExample-convert.ftlh
index e7eadaf..c3105f5 100644
--- a/src/test/resources/freemarker/manual/AutoEscapingExample-convert.ftlh
+++ b/src/test/resources/freemarker/manual/AutoEscapingExample-convert.ftlh
@@ -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.
+-->
<#assign mo1 = "Foo's bar {}"?esc>
HTLM: ${mo1}
XML: <#outputformat 'XML'>${mo1}</#outputformat>