cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1945) cgen: allow user-defined classes / utilities in entity templates (Ant)
Date Mon, 25 Aug 2014 16:23:57 GMT

     [ https://issues.apache.org/jira/browse/CAY-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Huss updated CAY-1945:
---------------------------

    Attachment: 0001-CAY-1945-cgen-allow-user-defined-classes-utilities-i.patch

Patch attached

> 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)

Mime
View raw message