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

Kim van der Riet resolved QPID-240.
-----------------------------------

    Resolution: Fixed

Incorporating an element <codegen value="no-gen"> into any class, method or 
field of a suplemental XML file will cause the code for its parent element and 
all its children to be supressed from generation. A message is printed for each 
codegen element encountered. The main XML spec file must be run first, then the 
suplemental file.

> Add ability to supress generation of XML specification elements without 
> having to modify XML spec file itself
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-240
>                 URL: https://issues.apache.org/jira/browse/QPID-240
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Code Generator
>            Reporter: Kim van der Riet
>         Assigned To: Kim van der Riet
>
> Since the code generator builds an internal model of all versions in an 
> additive manner (through the processing of several XML specification files), 
> it is possible to include additional generation control elements through the 
> processing of additional control file(s) besides the spec files. Add the 
> ability of the code generator to detect and represent in its internal model 
> generation supression flags for any of class, method or field elements on a 
> version-specific basis (i.e. supress an element for one version, but support 
> it in another). Make the generator itself sensitive to the presence of 
> generation control elements in the internal model during the code generation 
> process.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to