#*
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*#
#*
This version uses .css files for styling
use classes in tags like this:
$escape.getText($value.getText())
#end
##
#macro ( subsection $subsection)
#if ($subsection.getAttributeValue("id"))
#else
#end
#end
##
#macro ( section $section)
##
$subsection.getAttributeValue("name")
#if ($subsection.getAttributeValue('title'))
– $subsection.getAttributeValue('title')
#end
#foreach ( $item in $subsection.getChildren() )
#if ($item.getName().equals("source"))
#source ($item)
#elseif ($item.getName().equals("insertDownloads"))
#insertDownloads ($item)
#else
$item
#end
#end
#else
#end
#end
##
#macro ( subsectionToc $subsections )
#if ($subsections.get(0).getAttributeValue("title"))
$section.getAttributeValue("name")
#foreach ( $item in $section.getChildren() )
#if ($item.getName().equals("source"))
#source ($item)
#elseif ($item.getName().equals("subsection"))
#subsection ($item)
#elseif ($item.getName().equals("subsectionToc"))
#subsectionToc ($section.getChildren("subsection"))
#elseif ($item.getName().equals("insertDownloads"))
#insertDownloads ($item)
#else
$item
#end
#end
#foreach ( $item in $subsections )
#else
#end
$!item.getAttributeValue("date")
#if ($item.getAttributeValue("title"))
$item.getAttributeValue("title")
#else
$item.getAttributeValue("name")
#end
#foreach ( $item in $subsections )
#end
#end
##
#macro ( projectanchor $name $href)
#if (!$href)
#elseif ($href.startsWith("http://") || $href.startsWith("https://"))
$name
#else
$name
#end
#end
##
#macro ( navBarParts $items )
#end
##
#macro (getApacheImage)
#if ($project.getChild("logo"))
#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
#if ( $logoString.startsWith("/") )
#else
#end
#end
#end
##
#macro (getProjectImage)
#if ($project.getChild("projectLogo"))
#set ( $logoString = $project.getChild("projectLogo").getAttributeValue("href") )
#if ( $logoString.startsWith("/") )
#else
#end
#end
#end
##
#macro (getBannerTitle)
#if ( $root.getChild("properties").getChild("bannertitle") )
#set ( $pageBanner = $root.getChild("properties").getChild("bannertitle") )
#else
#set ( $pageBanner = $root.getChild("properties").getChild("title").getText() )
#end
#getProjectImage()
#getBannerTitle()
#getApacheImage()
#end
##
## support for download entries
## Put release version applicable for whole table into downloads element version attribute
## version="2.2.2-incubating" will be inserted in various places
##
## one or more
##
##
## special ACon Logo - leave here for next time
##
##
##
##
##
#navBarParts($project.getChild("menus").getChildren("item"))
#set ($allSections = $root.getChild("body").getChildren("section"))
#foreach ( $section in $allSections )
#section ($section)
#end
Home
Privacy Policy
Copyright © 2006-2024, The Apache Software Foundation.
Apache UIMA, UIMA, the Apache UIMA logo and the Apache Feather logo are trademarks of The Apache Software Foundation.
All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Contact us
#end
#macro ( suffixes $dir $item $subdirectory)
##
#foreach ( $download in $downloads.getChildren("download"))
#if ($download.getAttributeValue("archived"))
#set ( $drmirror = "https://archive.apache.org/dist/uima")
#set ( $dr = "https://archive.apache.org/dist/uima")
#else
#set ( $drmirror = "[preferred]/uima")
#set ( $dr = "https://www.apache.org/dist/uima")
#end
#set ($subdirectory = $download.getAttributeValue("subdirectory"))
##
#set ($releasenotes = $download.getChild("releasenotes"))
#set ($releasenotestitle = 'no title')
#if ($releasenotes.getAttributeValue("title"))
#set ($releasenotestitle = $releasenotes.getAttributeValue("title"))
#end
##
Artifact
Release
NotesBinary
Source
#if ($downloads.getAttributeValue("withreleasedate"))
Release Date
#end
#end
##
#else
$download.getAttributeValue("name")
#end
##
#if ($releasenotes.getChild("f"))
$download.getAttributeValue("name")
#if ($releasenotes.getChild("f"))
#foreach ($suffix in $releasenotes.getChildren("f"))
#end
#else
#if ($releasenotestitle.equals('no title'))
#set ($releasenotestitle = "Release Notes")
#end
$releasenotestitle
#end
#foreach ($binary in $download.getChildren("binary"))
#if ($downloads.getAttributeValue("incubator"))
#suffixes ('binaries' $binary $subdirectory)
#else
#suffixes ('' $binary $subdirectory)
#end
#end
#set ($source = $download.getChild("source"))
#if ($source.getChild("f"))
#if ($downloads.getAttributeValue("incubator"))
#suffixes ('source' $source $subdirectory)
#else
#suffixes ('' $source $subdirectory)
#end
#else
$source
#end
#if ($downloads.getAttributeValue("withreleasedate"))
#end
#foreach ($suffix in $item.getChildren("f"))
#set ($ft = $suffix.getText())
#set ($filename = $item.getAttributeValue("filename"))
#set ($platform = $suffix.getAttributeValue("platform"))
#if ($platform.endsWith("64-bit"))
#set ($filenameType = "${filename}64.$ft")
#else
#set ($filenameType = "${filename}.$ft")
#end
#end
#end
$ft
[asc]
## [md5] removed per change in apache release policy 4/2018 schor
## [sha1] removed per change in apache release policy 8/2018 schor
[sha512]
#if ($suffix.getAttributeValue("platform"))
$suffix.getAttributeValue("platform")
#end