You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Mike Kienenberger (JIRA)" <ji...@apache.org> on 2014/08/25 21:06:59 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14109522#comment-14109522 ]
Mike Kienenberger commented on CAY-1945:
----------------------------------------
In what ways is this different from VPP config?
> 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)