Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:

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? 


0 votes


Accepted answer

Permanent link
 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

0 votes

Comments

 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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,202
× 87
× 11

Question asked: Jan 12 '15, 11:20 a.m.

Question was seen: 3,736 times

Last updated: Jan 13 '15, 11:20 a.m.

Confirmation Cancel Confirm