Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clear Case. How to split very long javascript on multiple lines?

I have a JS compressed file which is long about 14k and it is on one single line. This creates some problem on Clear Case, making check in impossible

Is there a way to fix clearcase?

If I whant to split the JS file on multiple lines, should I pay attention to something when inserting line breaks. Obviously I won't split a string or anumber, after that any other non obvious thing to keep in mind?

like image 609
Paolo Avatar asked Jul 11 '26 22:07

Paolo


1 Answers

The other solution would be to change the type of your compressed JS file to... "compressed_file":

cleartool chtype Compressed_file

That way, you wouldn't have to modify your file.
See "Clearcase issue while “add file to source control”" for more on that technique.

You can also specify the merge manager to always copy over that file when merged, to avoid any merge issue. See "Clearcase UCM is trying to merge pdf files".

like image 167
VonC Avatar answered Jul 13 '26 14:07

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!