History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-969
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Roy Porter
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Appgen - Allow code generation templates to be overridden

Created: 29/Nov/07 02:46 PM   Updated: 10/May/08 04:34 PM
Component/s: Tools - AppGen
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2

File Attachments: 1. Text File amp-template-override.patch (6 kb)



 Description  « Hide
It's not currently possible to provide your own templates to the Appgen tool, other than repackaging the maven plugin.

This patch will change the generator to look in the src/test/resources folder, before looking for the packaged ones in the plugin.



 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 29/Nov/07 03:32 PM
Patch committed - thanks Roy!

Users can now override individual templates (or all of them) by extracting src/main/resources/appfuse from appfuse-maven-plugin.jar to src/test/resources/appfuse. To override the default location, specify a <templateDirectory> parameter in the plugin's configuration.

I'll leave this issue open until the documentation has been updated.