Check in to ClearCase fails

雨燕双飞 提交于 2019-12-02 03:53:26

Make sure the default.magic file is taken into account, and is in the right directory, as mentioned in "About the ClearCase Magic file".

Make sure you did add the new rule in the right place in that magic file: see "How file types are determined when creating a new element"

Note: This is the first section in the default.magic file.

Example:

# Match by name without examining data
core file : -name "core" ;
compressed_file : -name "*.[nN][eE][wW]";

Note: The new file-typing rule that you add must come before the following line in the magic file:

text_file : -printable ;
compressed_file : !-printable ;

Use a personal magic file rather than modifying the default one:

Caution: It is highly recommended that you not modify the default.magic file directly as the next time an upgrade is performed, a new default.magic file will be created and your changes will be lost.
Creating a personal magic file with a name that is alphabetically before the "d" in the default.magic file name (such as cc.magic) will allow ClearCase to parse this file before the default.
It is better to create a personal magic file and possibly setting the MAGIC_PATH variable instead.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!