jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-ecs2/generation/xhtml-gen/templates Control.vm
Date Sat, 22 Sep 2001 15:23:09 GMT
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


Mime
View raw message