db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-339) Correct the order of outlet and mergepoint in the last example of the configuration section of the code generation documentation
Date Sun, 06 Sep 2015 18:18:45 GMT

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

Thomas Fox resolved TORQUE-339.
-------------------------------
       Resolution: Fixed
         Assignee:     (was: Thomas Fox)
    Fix Version/s: 4.1

> Correct the order of outlet and mergepoint in the last example of the configuration section
of the code generation documentation
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TORQUE-339
>                 URL: https://issues.apache.org/jira/browse/TORQUE-339
>             Project: Torque
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Helge Weissig
>             Fix For: 4.1
>
>
> When overriding a single mergepoint, the outlet must be listed first according to the
schema definition. The following patch addresses that:
> {code}
> Index: torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml
> ===================================================================
> --- torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml	(revision
1689921)
> +++ torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml	(working
copy)
> @@ -294,14 +294,14 @@
>  <outlets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>      xsi:schemaLocation="http://db.apache.org/torque/4.0/generator/configuration http://db.apache.org/torque/4.0/generator/configuration.xsd"
>      xmlns="http://db.apache.org/torque/4.0/generator/configuration">
> -  <mergepoint name="torque.om.bean.base.getterSetter.setter">
> -    <action xsi:type="applyAction" outlet="torque.om.bean.base.setter2"/>
> -  </mergepoint>
> -
>    <outlet name="torque.om.bean.base.setter2"
>        xsi:type="velocityOutlet"
>        path="bean/base/setter2.vm">
>    </outlet>
> +
> +  <mergepoint name="torque.om.bean.base.getterSetter.setter">
> +    <action xsi:type="applyAction" outlet="torque.om.bean.base.setter2"/>
> +  </mergepoint>
>  </outlets>
>  ]]></source>
>        <p>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message