Set line delimiter file property on check-in
Accepted answer
This functionality is requested in It should be possible to ensure that consistent mime type and line ending rules be applied to every file in a component (139709) . Please feel free to add a comment to this work item to indicate your interest/support.
One other answer
Hi John,
the only ways I have seen are:
1. In the Eclipse Preferences>Team>Jazz Source Control>File Properties you can modify the types and delimiters for various file types.
2. In the Eclipse Client, if you select a project in SCM. In the Context menu Team>Change File Properties you can change the file properties including the line delimiter the same way.
3. In The Eclipse Preferences>General>Workspace, you can set the default encoding and line delimiters in general.
I am not sure how that works across the team. I think you can export and share the preferences for Eclipse. However, I think that Eclipse and other tools miss the capability to share project wide preferences. I think a feature that provides you with the SCM preferences e.g. on a project or team level would be great. Only issue would be: what if you have SCM data with different preferences loaded?
the only ways I have seen are:
1. In the Eclipse Preferences>Team>Jazz Source Control>File Properties you can modify the types and delimiters for various file types.
2. In the Eclipse Client, if you select a project in SCM. In the Context menu Team>Change File Properties you can change the file properties including the line delimiter the same way.
3. In The Eclipse Preferences>General>Workspace, you can set the default encoding and line delimiters in general.
I am not sure how that works across the team. I think you can export and share the preferences for Eclipse. However, I think that Eclipse and other tools miss the capability to share project wide preferences. I think a feature that provides you with the SCM preferences e.g. on a project or team level would be great. Only issue would be: what if you have SCM data with different preferences loaded?