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

scm command line compare not working

Any idea what is wrong on this scm command line.
scm compare --repository-uri https://svlw69.svl.ibm.com:9444/jazz --username user@us.ibm.com --password xxx ws "build_102_EDA 3.0 Release Workspace" baseline build100

But I'm not able to figure out what is the what argument is wrong, can you help.

I checked the logs, this is what I got:
!SESSION 2009-09-14 09:26:33.699 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20090422 (JIT enabled)
J9VM - 20090421_34076_lHdSMr
JIT - 20081112_1511ifx6_r8
GC - 200811_07
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: compare --repository-uri https://svlw69.svl.ibm.com:9444/jazz --username lalves@us.ibm.com --passw
ord work4@ibm workspace build_102_EDA 3.0 Release Workspace baseline build100
Command-line arguments: -os linux -ws gtk -arch x86 -data @noDefault compare --repository-uri https://svlw69.svl.ibm.co
m:9444/jazz --username lalves@us.ibm.com --password work4@ibm workspace build_102_EDA 3.0 Release Workspace baseline bui
ld100

!ENTRY org.eclipse.osgi 4 0 2009-09-14 09:26:45.224
!MESSAGE Application error
!STACK 1
java.lang.IllegalArgumentException
at com.ibm.team.scm.client.internal.WorkspaceManager.findBaselines(WorkspaceManager.java:1745)
at com.ibm.team.filesystem.cli.core.util.RepoUtil.findNamedBaseline(Unknown Source)
at com.ibm.team.filesystem.cli.client.internal.subcommands.CompareCmd.resolveItem(CompareCmd.java:377)
at com.ibm.team.filesystem.cli.client.internal.subcommands.CompareCmd.createContext(CompareCmd.java:332)
at com.ibm.team.filesystem.cli.client.internal.subcommands.CompareCmd.run(CompareCmd.java:161)
at com.ibm.team.filesystem.cli.core.internal.Application.run(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.doStart(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)

0 votes



3 answers

Permanent link
I figure it out, I was missing the --component argumment.
Can you guys improve the error message, if possible

Any idea what is wrong on this scm command line.
scm compare --repository-uri https://svlw69.svl.ibm.com:9444/jazz --username user@us.ibm.com --password * ws "build_102_EDA 3.0 Release Workspace" baseline build100

But I'm not able to figure out what is the what argument is wrong, can you help.

I checked the logs, this is what I got:
!SESSION 2009-09-14 09:26:33.699 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20090422 (JIT enabled)
J9VM - 20090421_34076_lHdSMr
JIT - 20081112_1511ifx6_r8
GC - 200811_07
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: compare --repository-uri https://svlw69.svl.ibm.com:9444/jazz --username lalves@us.ibm.com --passw
ord work4@ibm workspace build_102_EDA 3.0 Release Workspace baseline build100
Command-line arguments: -os linux -ws gtk -arch x86 -data @noDefault compare --repository-uri https://svlw69.svl.ibm.co
m:9444/jazz --username lalves@us.ibm.com --password work4@ibm workspace build_102_EDA 3.0 Release Workspace baseline bui
ld100

!ENTRY org.eclipse.osgi 4 0 2009-09-14 09:26:45.224
!MESSAGE Application error
!STACK 1
java.lang.IllegalArgumentException
at com.ibm.team.scm.client.internal.WorkspaceManager.findBaselines(WorkspaceManager.java:1745)
at com.ibm.team.filesystem.cli.core.util.RepoUtil.findNamedBaseline(Unknown Source)
at com.ibm.team.filesystem.cli.client.internal.subcommands.CompareCmd.resolveItem(CompareCmd.java:377)
at com.ibm.team.filesystem.cli.client.internal.subcommands.CompareCmd.createContext(CompareCmd.java:332)
at com.ibm.team.filesystem.cli.client.internal.subcommands.CompareCmd.run(CompareCmd.java:161)
at com.ibm.team.filesystem.cli.core.internal.Application.run(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.doStart(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)

0 votes


Permanent link
I figure it out, I was missing the --component argumment.
Can you guys improve the error message, if possible



Glad you worked it out. Please raise this directly as a work item in the RTC project here on jazz.net - and it would be very kind of you to post the link or defect number here afterwards

anthony

0 votes


Permanent link
I figure it out, I was missing the --component argumment.
Can you guys improve the error message, if possible


The bug has been raised. It's being fixed for 2.0.0.2. See https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/90588.

0 votes

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

Question asked: Sep 14 '09, 1:19 p.m.

Question was seen: 4,888 times

Last updated: Sep 14 '09, 1:19 p.m.

Confirmation Cancel Confirm