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)
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)
3 answers
I figure it out, I was missing the --component argumment.
Can you guys improve the error message, if possible
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)
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