Invalid line delimiter during share - scm share command
I run the following command to share from comandline but fails with the message as shown below for a few files:
Result:
Change sets:
(1002) ----@ clmuser "Share" 07-Jan-2015 09:32 AM
Invalid line delimiter during share for:
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data.SqlClient/SqlControloIdempotenciaProviderBase.generated.cs
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data.SqlClient/SqlPropostaLimitesProviderBase.generated.cs
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data.SqlClient/SqlVersaoPropostaLimitesProviderBase.generated.cs
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data.SqlClient/SqlGarantiaMinimaProviderBase.generated.cs
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data.SqlClient/Views/SqlVistaLimitesExposicaoGrupadosProviderBase.generated.cs
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data.SqlClient/SqlVariavelDecisaoVersaoPropostaLimitesProviderBase.generated.cs
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data/Bases/VersaoPropostaLimitesProviderBase.generatedCore.csShared successfully
Any help here?
Accepted answer
Looks like these files were generated by some tool and has some mixed line delimiters. By default, the tool tries to use the delimiter as LF in Unix/Linux and CRLF in Windows systems. Either you need to fix the file to have a consistent delimiter or if you want to share it as it is you need to provide a magic.properties file with 'delim: none'. Here is how you can provide a magic.properties file: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_magicproperties.html&scope=null