Code Generation Options

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Projects and Code Engineering > Generating Program Code >

Code Generation Options

When generating program code into a UModel project, you may want to set or change the options listed below. These options are available when you run the menu command Project | Project Settings and are saved together with the project.

um_dlg_proj_settings

The options are grouped into tabs as follows.

 

Tab

Options

Java

Select the check box Write Documentation as JavaDocs to convert the documentation of UModel elements to equivalent JavaDocs-style documentation in generated code.

C#

Select the check box Write Documentation as DocComments to convert the documentation of UModel elements to comments in generated C# code.

VB

Select the check box Write Documentation as DocComments to convert the documentation of UModel elements to comments in generated VB.NET code.

SPL Templates

If you want to force UModel to read SPL templates from a custom path other than the default one, the custom path must be entered here. See also SPL Templates.

 

In addition to the settings above, there are a few other settings which affect code generation. To access them, run the menu command Tools | Options, and then click the Code Engineering tab. The settings applicable to generating code from a model are grouped under Update Program Code from UModel Project. Note that these settings are local (they will only affect the current installation of UModel and will not be saved with the project).


© 2019 Altova GmbH