The CORDET Feature Models
This page provides some basic instructions on how to use the feature models for the CORDET Frameworks. Two feature models are provided covering the Control Framework and the DH Framework, respectively. The feature models are provided as zip files that contain all the files required to re-create the two feature models within the XFeature tool.
The feature model zip files can be downloaded from the domain analysis page or from the download page of the CORDET Project Web Site. These two pages also give access to the technical note that documents the domain model for the two frameworks, including their feature models.
This page assumes the reader to be familiar with the XFeature Tool.
Contents
Configuration
The feature models for the Control and DH Frameworks were built using version 2.1.2 of the XFeature Tool. The tool was configured to use the FD Configuration. The FD Configuration is one of the default configurations of the XFeature tool and it is delivered with the tool itself.
Deploying the Feature Models
Assuming that XFeature is successfully installed in accordance with the instructions at XFeature download page, it is possible to deploy the Cordet feature models as follows:
- Create a new project via
File | New | Project... | General | Project
, clickNext
, enter any name e.g.CordetFeatureModels
, and clickFinish
. - Get the models from the download page and unpack them them to the folder you have just created.
- Go back to Eclipse and open the
Navigator
view -- go toWindow | Show View | Navigator
. - Right-click the project icon in your Eclipse's and choose
Refresh
. - In the Navigator view, browse through the refreshed project to locate file
control.fxm
. Right-click it and chooseOpen With | XFeature Feature Model Editor
. - XFeature will inform you that the meta-model path stored in the downloaded feature model is not found and
asks whether you want to locate it yourself. Click
Yes
. Go toc:\eclipse\eclipse-SDK-3.3-win32\eclipse\plugins\com.pnp.xfeature_2.1.2\
of whatever is your XFeature intallation direcotry and follow further down tosrc\FD_configuration_files\FD.xfmm
. If you do not know what is your XFeature installation directory, find it out inWindow | Preferences | XFeature
; Note that XFeature will not allow you to open the model if you have a space character in the path -- consider reinstalling Eclipse and changing the workspace location. - If you wish to validate the
control.xfm
model, open theCordet.xfp
and update the paths to match your XFeature installation path. - Check the XFeature demo to see how family models can be used to generate system meta-models and valid system models.