TOP

detect.changes

Description

List the changes happened in the "new" model, compared to the "old" model, as they are defined in the owner CompareModels task. This task binds the list of elements of the new model that were not mapped to any element from the old model (orphans) into the <new>.orphans project property. It binds the list of elements of the old model that were not mapped to any element from the first model (orphans) into <old>.orphans project property. Where <new> and <old> are the names of the new and old extents defined in the wrapping task. This task executes the nested tasks for each element from the new model that was mapped to element(s) from the old model and binds in:

Implementation class

net.mdatools.modelant.core.task.comparison.DetectElementChanges

Parameters

Attribute Description Type
new The prefix name <new> of the property <new>.element where to bind the element from that model before executing the nested tasks (if any). Default: NEW String
old The prefix name <old> of the property <old>.element where to bind the element from that model before executing the nested tasks (if any). Default: OLD String

Nested elements

Element Description
Any task These are tasks to execute in a separate local environment for each pair of corresponding objects and identified changes.

Use <typedef resource="net/mdatools/modelant/core/antlib.xml"/>
Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools