Version 6

    This `how to' will emerge in the next four or five days (currently 10/3/04). It will describe how to code a template from scratch, using a text editor and Ant and the Nukes codebase.




    Be careful when choosing the context variable names. They must only contain dots if they are inside a loop. For ordinary names, IMG_LEFT is ok. IMG.LEFT is not.

    This leads to something like

    java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
            at java.util.LinkedList.entry(
            at java.util.LinkedList.get(
            at org.jboss.nukes.common.template.TemplateBuilder.generateRender(
            at org.jboss.nukes.common.template.TemplateBuilder.implementRender(
            at org.jboss.nukes.common.template.TemplateRepository$TemplateClassLoader.addTemplate(
            at org.jboss.nukes.common.template.TemplateRepository.generate(
            at org.jboss.nukes.common.template.TemplateRepository.addTemplate(
            at org.jboss.nukes.common.template.TemplateRepository.addTemplate(