Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
233 views
in Technique[技术] by (71.8m points)

Clearcase UCM is trying to merge pdf files

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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":

copy merge


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...