| <#-- |
| 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. |
| --> |
| FreeMarker Generator Information |
| ============================================================================== |
| |
| FreeMarker version : ${.version} |
| Template name : ${.current_template_name} |
| Language : ${.lang} |
| Locale : ${.locale} |
| Timestamp : ${.now} |
| Time zone : ${.now?string["z"]} |
| Output encoding : ${.output_encoding} |
| Output format : ${.output_format} |
| |
| FreeMarker Command-line Parameters |
| ============================================================================== |
| |
| <#list tools.system.getCommandLineArgs() as arg> |
| [#${arg?counter}] ${arg} |
| </#list> |
| |
| FreeMarker Generator Template Loader Directories |
| ============================================================================== |
| |
| <#list tools.system.getTemplateDirectories() as directory> |
| [#${directory?counter}] ${directory} |
| </#list> |
| |
| FreeMarker Generator Data Model |
| ============================================================================== |
| |
| <#list .data_model?keys?sort as key> |
| - ${key}<#lt> |
| </#list> |
| |
| FreeMarker Generator Data Sources |
| ============================================================================== |
| <#if dataSources?has_content> |
| <#list dataSources as dataSource> |
| |
| DataSource #${dataSource?counter} |
| ------------------------------------------------------------------------------ |
| name : ${dataSource.name} |
| group : ${dataSource.group} |
| contentType : ${dataSource.contentType} |
| fileName : ${dataSource.fileName} |
| baseName : ${dataSource.baseName} |
| extension : ${dataSource.extension} |
| relativeFilePath : ${dataSource.relativeFilePath} |
| charset : ${dataSource.charset} |
| mimeType : ${dataSource.mimeType} |
| uri : ${dataSource.uri} |
| length : ${dataSource.length} bytes |
| metadata : ${dataSource.metadata?size} entries |
| </#list> |
| <#else> |
| |
| No data sources found ... |
| </#if> |
| |
| FreeMarker Generator Parameters |
| ============================================================================== |
| |
| <#if tools.system.parameters?has_content> |
| <#list tools.system.parameters as key,value> |
| <#if value?is_hash> |
| - ${key} ==> { <#list value as name,value>${name}=${value} </#list>} |
| <#else> |
| - ${key} ==> ${value} |
| </#if> |
| </#list> |
| <#else> |
| No parameters found ... |
| </#if> |
| |
| FreeMarker Generator Tools |
| ============================================================================== |
| |
| <#list tools?keys?sort as name> |
| - ${name?right_pad(19)} : ${tools[name]} |
| </#list> |