That is why the code generation runs automatic formatting of the .xml
and .java code it generates.
/max
Hi,
freemarker allows us include one template into another, but if
included template contains a few lines the formatting is broken. For
example:
person.ftl :
<Person>
<#include "Key.ftl">
</Person>
Key.ftl:
<Key>
<Column name="name">
</Key>
In this situation output file will be the following:
<Person>
<Key>
<Column name="name">
</Key>
</Person>
If we want to get formatted file at the output we need to change
included file - it is ugly solution.
Anybody know how to get formatted file at the output(without special
formatting tools)?