Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Texo/Generate Artifacts

< Texo
Revision as of 12:54, 7 March 2010 by Mtaal.springsite.com (Talk | contribs) (Setting the output folder)

Introduction

Texo code can be generated directly by right-clicking on one or more xsd or ecore files and selecting 'Texo > Generate Code'.


Org.eclipse.emf.texo.generate.code.png


As a default the generated code is placed in a src-gen folder in the project of the selected model file. If you generate code for multiple model files in different projects then the generated code is created in the project of each resp. model file.

Setting the output folder

The output folder for the generated artifacts can be set in the project properties. First you need to add the Texo nature to the project (otherwise the Texo tab is not visible in the project properties).

Org.eclipse.emf.texo.configure.nature.png


Then right click on the project and go to the project properties and then Texo.


Org.eclipse.emf.texo.properties.png


There are two fields, the output folder is the destination of the generated code and artifacts. The templates folder is used for template overriding.

Back to the top