The migrate uses the following list of mapping rules. These rules are numbered for later reference.
dir1 <dir>
Makefile.joe -rw-r--r--
s.Makefile.joe -r--r--r-
The first object is the directory dir1. The condition for rules 1, 2, and 3 are false. At rule 4, since no type was defined, the condition is also false. The condition for rule 5 is true, so the action sets the Rational® Synergy type to dir.
The second object is the file Makefile.joe. The condition for rules 1 and 2 are false. The condition for rule 3 is true since it matches the regular expression. The action sets the Rational Synergy type to makefile. At rule 4, the condition is true since the type now matches makefile, and the action ignores that file so that it is not included in the package generated by migrate. The condition for rule 5 is false.
The last object if the file s.Makefile.joe. The condition for rules 1, 2, and 3 are false. At rule 4, the condition is false since the type is not set. The condition for rule 5 is false. The result is that the file is included in the package generated by migrating and assigned a default type.