Adding minified javascript/css files to ClearCase

I had an issue trying to add some minified JavaScript files to ClearCase.

Error adding '[file]' to source control.
Created branch "dev" from "[file]" version "\main\0".
Type manager "text_file_delta" failed create_version operation.

It looks like files that have over 8000 characters on a single row are unable to be added to version control using normal methods.

Thankfully, I was able to find a solution here:

cleartool mkelem -eltype compressed_file jquery-1.2.6.min.js
cleartool ci -nc jquery-1.2.6.min.js

Adding the file to clearcase as a “compressed file” means it doesn’t try to do a file delta!