sfdc-hhildebrand/SMC — pull request #2 by twinforces (2012-09-18 00:42:28+00:00)
Title: Template Based Java First Pass

Here are the changes for the template based approach to Java Generation.

Sample command line:

java -jar ~/bin/smcTemp.jar -fm -template SMCJavaTemplate.fmtl -tsuffix java -tdir /Users/pierce/Development/SMC/smc-plugin/src/main/resources/net/sf/smc/generator/templates -reflect -serial $file

Also, I changed the pom so it generates a fat jar, so the jar can function as both a command line tool and a maven plugin.

Let me know what you think.

New parameters:

-fm freemarker as a new "language" type.
-template starting template to load.
-tsuffix file type stuffix to generate.
-tdir optional; directory to search for files to load
-pdir optional; whether or not to generate package directories