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

Error in lscm deliver command saying "Nothing to deliver. No outgoing changes were found."

Hi,
I am migrating streams from accurev to rtc, for one stream i am getting below error 
Nothing to deliver. No outgoing changes were found.

I am migrating using shell script which first merge code in trunk (Say Base_Trunk) then creates one snapshot from it then maintenance stream. 

First two streams (release1, release2) migrated successfully but for third stream (release3) i am getting this error (i am using component name say "my_component").  

but lscm status command shows many unresolved changes like below

>>>> RTC workspace status is:

Workspace: (1253) "release3_workspace" <-> (1220) "Base_Trunk>
  Component: (1229) "my_component"
    Baseline: (1250) 5 "release2_SS"
    Unresolved:
      -c- /build.xml
      -c- /build_config/product-version.properties
      -c- /Script/dashboard_input/cubeMeta.xml
      -c- /src/main/java/com/BusinessLogic/Bean/TestConfigureServi>
      -c- /src/main/java/com/BusinessLogic/Bean/TestDataService/>

And it fails saying 
>>>> Delivering to RTC...

Nothing to deliver. No outgoing changes were found.

Can anyone help me on this?

0 votes



2 answers

Permanent link
I can only guess, but it looks that the files are unresolved (not checked in). You need to check them in to create change sets, in order to be able to deliver them. The deliver operation does not create change stets from unresolved local changes.

0 votes


Permanent link
Thanks Ralph, after further analysis i found that checkin is failing because of file encoding error

>>>> Start of check-in log:

Commit failed. Invalid encoding during checkin for:
  /src/main/java/com/Framework/Event/Application/CounterUpdateListener.java (UTF-8)
  /src/main/java/com/BusinessLogic/Helper/formulahelpers/FormulaHelper.java (UTF-8)
Problem running 'checkin':
Unable to checkin due to invalid file encoding or line delimiter.

>>>> End of Check-in log:

That's why nothing is going from undelivered to outgoing bucket hence lscm deliver is returning with error. 
Is there any way to skip this encoding check?

0 votes

Comments

No, but you can use tools such as notepad++ or Eclipse to fix the encoding of the files.

I am migrating this stream from accurev and i can't change encoding there and since i am migrating using command line toll and many streams in one go so i don't have liberty to correct it from eclipse rtc.


after searching this forum i came to know that we can have one magic.properties file in at below location 
~/.jazz-scm/magic.properties

In this file we can set mime type, delimiter and and encoding so i am planning to rerun with this magic.properties file with content like below

*.java: mime: text/plain; delim: platform; encoding: UTF-8

is it right approach?

Note that the magic.properties file will work only for the first time when you checkin the files. If you have already checked in the files then it will not be affected.

1 vote

Thanks Shashikant, i am not sure but somehow this problem is gone after trying 2-3 times :-)

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
× 10,938

Question asked: Jul 28 '14, 3:17 a.m.

Question was seen: 3,702 times

Last updated: Aug 01 '14, 9:37 a.m.

Confirmation Cancel Confirm