It's all about the answers!

Ask a question

Invalid line delimiter during share - scm share command


Sumant Renukarya (1.1k23339) | asked Jan 12 '15, 11:20 a.m.
I run the following command to share from comandline but fails with the message as shown below for a few files:

scm share -r https://<host>:9443/ccm -u clmuser -P <test> -d "." -v "LOAD-WS-DIST-gestaodaexposicaocredito" 

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


permanent link
Shashikant Padur (4.2k27) | answered Jan 12 '15, 11:13 p.m.
JAZZ DEVELOPER
 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
Sumant Renukarya selected this answer as the correct answer

Comments
Sumant Renukarya commented Jan 13 '15, 11:20 a.m.

 Thanks Shashikant. Yes; these files are being moved from Harvest into RTC and as mentioned has delimiters other than CRLF or LF. 

Your answer


Register or to post your answer.