|
JeeWiz Architect's Guide
|
|
|
|
Contents
|
|
|
Chapter 4. Meta-Models And Template Directories
This chapter gives an example of building a JeeWiz Meta-model.
This assumes you have read the overview of meta-class and meta-models.
There are three parts to defining and using a meta-model:
- the specification of the meta-model.
The (generated) documentation of meta-models
is in the JeeWiz Meta-Model Reference chapter.
The key attributes to set here are
- the creation of the directory to hold the meta-model.
This directory is referred to in meta-model (and rendering) inheritance.
- the description of the generate-time template directory (which holds the jar for the meta-model).
This is in the model.properties file in the meta-model's control directory.
There is a 'package' property in this file.
This is required for building meta-models (but not for other uses) and must match the package attribute in the meta-model.
If these names do not match, the meta-model Java classes will not be found during the build.
4.1 Basics
4.2 Creating And Building A New Meta-Model