It's all about the answers!

Ask a question

How to add new file types for Content Merger Selection?


Fullchee Zhang (113) | asked Nov 06 '20, 8:44 a.m.

I'm on Rational Team Concert version 6.0.6 on Ubuntu 18.04.


There are false positives when I try to merge LESS or CSS changes and it says that there's a conflict when there isn't.

There isn't an option for CSS or LESS. Is there a plugin that I can install?

Here's some screenshots since I don't enough rep to upload images here.


Comments
Shashikant Padur commented Nov 10 '20, 5:47 a.m. | edited Nov 10 '20, 5:50 a.m.
JAZZ DEVELOPER
How is this file checked in as? i.e., what does the MIME type show up as for this file? If it is text/plain then the merge should have worked. If it is not text/plain, then do the following in the Eclipse client:
  1. Open Window > Preferences > General > Content Types.
  2. In the Content Types pane, select Text.
  3. Click the Add… button beside the File Associations pane.
  4. Enter the extension of the file type (*.css, *.less), and click OK.
  5. Click OK in the preferences dialog.

Fullchee Zhang commented Nov 10 '20, 11:10 a.m.

Is there any way to download a content type with custom logic?


For example, is there special logic when RTC merges Java source files vs other text files?

Be the first one to answer this question!


Register or 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.