It's all about the answers!

Ask a question

How can I find these not checked-in files?


Jirong Hu (1.5k9290258) | asked Sep 01 '11, 8:22 a.m.
I am getting this error message during deliver. But I don't see any Pending Changes. How can I find these not checked-in files?

Thanks
Jirong

C:\Workspace\Administrator\recipe2.promote>scm deliver --target "JUnit Integration Stream"
Delivering changes:
Workspaces:
(1016) "Temporary Build Workspace" --> (1017) "JUnit Integration Stream"
Components:
(1014) "recipe1.deliver"
Problem running 'deliver':
Cannot deliver because there are one or more items that are not checked in. Check in the changes or rerun with --overwrite-uncommitted.

2 answers



permanent link
Philippe Krief (561155) | answered Sep 01 '11, 9:06 a.m.
JAZZ DEVELOPER
Did you try: scm status ?

It should display all the unresolved files.
Unresolved files means they were not checked in.

For example, if you run the following CLI:

>scm login -r https://<jazz>:9443/ccm/ -u <my> -P <my> -n jazzserver
>scm load -r jazzserver -d myWS <my>
>scm status -d myWS
Workspace: (1000) "PKJUnitWS" <-> (1001) "JUnit"
Component: (1002) "JUnit" <1001>scm status -d myWS
Workspace: (1000) "PKJUnitWS" <-> (1001) "JUnit"
Component: (1002) "JUnit" <-> (1001) "JUnit"
Baseline: (1003) 1 "Initial Baseline"
Unresolved:
-c- /JUnit Examples/src/com/ibm/team/junit/examples/Math.java

I hope it will help.

permanent link
Jirong Hu (1.5k9290258) | answered Sep 01 '11, 10:30 a.m.
I was running the command from another workspace's sandbox.

C:\Workspace\Administrator>scm load -r localhost "Temporary Build Workspace"
Item exists in filesystem: /recipe2.promote
Problem running 'load':
Load could not complete due to collisions. Overwrite existing items with --force.

C:\Workspace\Administrator>scm load -r localhost "Temporary Build Workspace" --force

C:\Workspace\Administrator>scm status
Workspace: (1016) "Temporary Build Workspace" <-> (1017) "JUnit Integration Str>
Component: (1014) "recipe1.deliver" <1017>scm deliver --target "JUnit Integration Stream"
Delivering changes:
Workspaces:
(1016) "Temporary Build Workspace" --> (1017) "JUnit Integration Stream"
Components:
(1014) "recipe1.deliver"
Deliver command successfully completed.

C:\Workspace\Administrator>

Your answer


Register or 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.