You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (JIRA)" <ji...@apache.org> on 2014/08/26 20:21:58 UTC
[jira] [Closed] (CAY-1945) cgen: allow user-defined classes /
utilities in entity templates (Ant)
[ https://issues.apache.org/jira/browse/CAY-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Huss closed CAY-1945.
--------------------------
Resolution: Not a Problem
> cgen: allow user-defined classes / utilities in entity templates (Ant)
> ----------------------------------------------------------------------
>
> Key: CAY-1945
> URL: https://issues.apache.org/jira/browse/CAY-1945
> Project: Cayenne
> Issue Type: Improvement
> Components: Non-GUI Tools
> Affects Versions: 3.2M1
> Reporter: John Huss
> Assignee: John Huss
> Priority: Minor
> Labels: cgen, patch
> Attachments: 0001-CAY-1945-cgen-allow-user-defined-classes-utilities-i.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> It would be useful to be able to inject user-defined classes / utilities into the templates for generating java classes for the entities in a DataMap. This simplifies complex templating tasks that would otherwise require Ant macros.
> For example, I have a set of templates to generate Objective-C classes for my entities, and this benefits from additional utility methods.
--
This message was sent by Atlassian JIRA
(v6.2#6252)