Clearcase UCM is trying to merge pdf files

佐手、 提交于 2019-12-17 06:57:07

问题


While delivering to integration stream , Clearcase UCM is trying to merge pdf files and fails.

As PDF files no need to be merged, how to solve this?

Is it a defect in Clearcase UCM? any work around is there or some policy settings needs to be set to solve this?


回答1:


If you don't want to merge a specific type of file, you can change its type to a "copy merge" policy (ClearCase will copy the source over the destination)

cleartool find . -name '*.jar' -exec 'cleartool chtype "COPY_MERGE" $CLEARCASE_XPN'

This is an improvement from the NEVER_MERGE presented in this IBM article, and is available in ClearCase 7.x.

You can create a custom "FILE_COPY_MERGE" type as described here:

cleartool mkeltype -supertype compressed_file -mergetype copy -nc FILE_COPY_MERGE
cleartool chtype FILE_COPY_MERGE 'element'

A more complete example is detailed in this technote "Handling binary files in ClearCase":



来源:https://stackoverflow.com/questions/8789258/clearcase-ucm-is-trying-to-merge-pdf-files

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