Setting the Code Generation Settings

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

Home >  Common Tasks > Working with Mapping Projects >

Setting the Code Generation Settings

For any project, you can specify code generation settings that will affect all the mappings inside a project. To open the Project Settings dialog box, do one of the following:

 

Right-click the project name in the Project window and choose Properties from the context menu
On the Project menu, click Properties.

dlg_project_settings

Project Settings dialog box

The available settings are as follows. Note that the project name and the project directory cannot be changed after the project has been created.

 

Output name

The value entered here determines the name of the generated project or solution, as well as other objects names in the generated code.

Output directory

Defines the Windows folder where the generated code (from all mappings in this project) will be saved. By default, output is saved to the output/ directory located in the project directory.

Language

Defines the code generation language for all mapping files in this project.

Base package name

This setting is applicable if you selected Java as transformation language. It defines the name of the base package in the generated Java project.


© 2019 Altova GmbH