Hi all,
Here's my contribution to the CodeSmith world: The CodeSmith Batch Utility.
This utility is comprised of a library and console executable for running xml batch files which in turn run the CodeSmith console engine with the appropriate parameters. The batch files provide a more succinct way of expressing multiple parameters to the CodeSmithConsole program.
Basic features:
- A batch file can be defined containing any number of tasks, each comprising templates and their parameters.
- Multiple templates can be specified for a task, resulting in multiple files being generated from the task's parameters.
- A default property set can be specfiied, reducing the amount of duplicated properties.
- Custom xml can be defined, which can be passed into a template (via a temp file) or transformed with XSLT into the standard parameter format.
Enjoy,
Ben Mackie
Post Edited (pneutam) : 9/7/2005 1:50:42 AM GMT