You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2013/08/15 03:04:47 UTC
[jira] [Commented] (TORQUE-296) Auto-define outlets by existence of
templates
[ https://issues.apache.org/jira/browse/TORQUE-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740519#comment-13740519 ]
Thomas Fox commented on TORQUE-296:
-----------------------------------
The outlet name is calculated as follows (pseudocode):
String path = getPathToOutletRelativeToTemplatesDirectory();
String outletName= path.replace("/", ".");
outletName = removeFilenameExtension(outletName);
> Auto-define outlets by existence of templates
> ---------------------------------------------
>
> Key: TORQUE-296
> URL: https://issues.apache.org/jira/browse/TORQUE-296
> Project: Torque
> Issue Type: Sub-task
> Components: Generator, Templates
> Affects Versions: 4.0
> Reporter: Thomas Fox
> Assignee: Thomas Fox
> Fix For: 4.1
>
>
> For each template in the templates directory, the generator should automatically create an outlet.
> This would simplify the definition of simple templates without mergepoint.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org