cloudtrends / soi-toolkit

Automatically exported from code.google.com/p/soi-toolkit
1 stars 0 forks source link

Add support for groovy based generators, i.e. not only GStringTemplate based generators #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Could be useful to example for Groovy class that creates XML-files using the 
XML-MarkupBuilder.

Original issue reported on code.google.com by magnus.l...@callistaenterprise.se on 21 Jun 2011 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by magnus.l...@gmail.com on 21 Jun 2011 at 5:36

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1261.

Original comment by magnus.l...@gmail.com on 21 Jun 2011 at 5:42

GoogleCodeExporter commented 9 years ago
Commit comment from r1261:

1. Added the interface FileGenerator.java for Java or Groovy classes to
implement.

2. Added helper method generateContentAndCreateFileUsingGroovyGenerator() in
GeneratorUtil.java

3. Added a testcase, GroovyGeneratorUtilTest.java, and a sample XML-
MarkupBuilder based GroovyGenerator, MyTestGroovyGenerator.groovy, to verify
that is works as expected and as an example for users

Original comment by magnus.l...@gmail.com on 21 Jun 2011 at 5:42