buildframework/helium/doc/antdoclet/html/main.vm
author Bob Rosenberg <bob.rosenberg@nokia.com>
Mon, 13 Sep 2010 13:52:18 +0100
changeset 656 88e01c8f013e
parent 587 85df38eb4012
permissions -rw-r--r--
Fix merging bug where downstream items somtimes got ignored if they appear after an upstream-only item. Also, reduce the severity of the validation error if a tech-domain is not recognised on a non-Foundation package.

##
## This template is the entry point for calling other templates.
## The output of this template goes to stdout.
##
## Objects available in context:
##
## $velocity   - Helper object for processing other templates (of type VelocityFacade)
## $antroot   - Contains all the Ant tasks/types (of type AntRoot)
## $title         - Project title (of type String)
##

AntDoclet - Running project $title

- Generating Task and Types documentation...
##
#foreach( $taskDoc in $antroot.getAll() ) ##
  #if ( ! $taskDoc.isIgnored() )

- Processing $taskDoc.antName ##
      $velocity.eval( "task.vm", "${taskDoc.getFullClassName()}.html" ) ##
  #else ##
- Ignoring $taskDoc.fullClassName()##
  #end ##
#end ##


- Generating Navigation indexes...
## Now, generate an "index" file for the categories, and one for each category
$velocity.eval( "libindex.vm", "libindex.html" )
$velocity.eval( "overview.vm", "overview.html" )
#foreach( $category in $antroot.getCategories() )
	$velocity.eval( "taskindex.vm", "index.${category}.html" )
#end
#set($category = "all")
$velocity.eval( "taskindex.vm", "index.${category}.html" )

- Done