MIME type is incorrect after using the ClearCase synchronizer
If we look at the ClearCase element type properties in type manager for java_source we get the following:
When we migrate both files using the ClearCase synchronizer we get different MIME types for both files.
File properties for file Aligner.java
File properties for file Aligner9300.java
One file has MIME type application/unknown while the other has text/plain. Is there any reason why these two files should end up with different MIME types after being imported together at the same time? What are the implications if now some or my java files are set to application/unknown?
For background here are some of the settings used on the ClearCase synchronizer and project area:
We followed the instructions from this section of the 4.0.6 documentation: Setting line delimiter handling where you need to modify the process template of the project area. Here’s the before and after XML code.
Before:
<configuration-data id="com.ibm.team.scm.service.projectLineDelimiterHandling">
</configuration-data>
After:
<configuration-data id="com.ibm.team.scm.service.projectLineDelimiterHandling"><projectLineDelimiterHandling projectLineDelimiterHandlingValue="NONE"></projectLineDelimiterHandling>
</configuration-data>
Furthermore, from the ClearCase Synchronized Streams view, we changed some of the ClearCase Provider Properties of the stream from
1. LINE_DELIMITER = LF
2. LINE_DELIMITER_WORKSPACE = PLATFORM
to
1. LINE_DELIMITER = UNSPECIFIED
2. LINE_DELIMITER_WORKSPACE = UNSPECIFIED
The above settings are based on this section of the 4.0.6 documentation: Specifying line termination characters for text files