The files for a project reside within the project folder. All
of the files having to do with the project exist within this folder
(or are linked into this folder using Eclipse links). Some of the
files and folders in the project are part of the model compilation
and code generation process. The gen
and
src
folders in the project are used by the model
compiler.
All of the marking files for a project will be found in the
gen
folder. These files can be edited by
double-clicking on the file or by right clicking and opening the
file for editing. Note that the marking files end with the file
extension .mark
. The marking files
include bridge.mark
,
class.mark
, datatype.mark
,
domain.mark
,
event.mark
and
system.mark
.
To supply marking to the code generation process, edit the marking files. Chapter 4, Marking explains the markings available to control the code generation of MC-3020
The code generation process creates a folder called
code_generation
in the
gen
folder. The is the generation workspace
and is largely a temporary ("scratch") work area for the model
compiler. It will be deleted before new code generation begins.
The code_generation
folder contains the files
and folders that users of MC-3020 versions 3.3 and before are
accustomed to seeing.
After code generation runs to completion, the generated
source code will be copied into the src
folder
of the project.