You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ecs-dev@jakarta.apache.org by rd...@apache.org on 2001/09/22 17:23:09 UTC
cvs commit: jakarta-ecs2/generation/xhtml-gen/templates Control.vm
rdonkin 01/09/22 08:23:09
Added: generation/xhtml-gen/templates Control.vm
Log:
Generation tools initial commit
Revision Changes Path
1.1 jakarta-ecs2/generation/xhtml-gen/templates/Control.vm
Index: Control.vm
===================================================================
#*
This control template runs through all the elements in the scheme and
creates a class for each.
Notice that the output from this file is fed into the outputFile.
*#
#set ($Name = $strings.capitalizeFirstLetter( $name ))
STARTED GENERATION FOR $Name
MAKING PACKAGE DIRECTORIES $package.makeDirectory()
#foreach ($element in $scheme.getElements())
#set ($Element = $strings.removeUnderScores($codehelper.convertToName(${element.Name}) ))
$generator.parse("ElementTemplate.vm.java",$package.getRelativePath("${Element}.java"))
GENERATED $Element #end
GENERATION COMPLETE.
---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-dev-help@jakarta.apache.org