Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to convert binary to text

We did imports from Clearcase to Jazz 406 using the CC synchronizer.  We noticed some files got stored in RTC as binary where in CC they where text.   How can we change the file type in JAZZ? 

I've searched but can't seem to find how to do it. 

1 vote


Accepted answer

Permanent link
Norman Dignard,

When I imported from ClearCase into RTC I had a few files that had both their MIME encoding set incorrectly as well as their line-ending type (line-ending type is dictated by the interop mode of the dynamic view you pulled the files from, the MIME encoding I believe gets set by the Eclipse File Properties in your Jazz Source Control preferences.)

To fix them I had to load a sandbox of the latest code I imported then make 2 script runs through the code to set both:
"scm.exe property set jazz.line-delimiter None <file>"
"scm.exe property set jazz.mime text/plain <file>"

Once you are done you then need to check them in and deliver, RTC version-controls changes to the Jazz metadata properties of a file.

This is from the documentation for 'get property' and 'set property', in RTC 4.x this may be the old format, 'property get' and 'property set', respectively:
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/get_property_ex.html&scope=null
Norman Dignard selected this answer as the correct answer

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,381

Question asked: Aug 11 '14, 3:33 p.m.

Question was seen: 3,975 times

Last updated: Aug 20 '14, 12:01 p.m.

Confirmation Cancel Confirm