It's all about the answers!

Ask a question

Extending Team Concert 3.0


Dashrath Kale (1542723) | asked Dec 06 '10, 4:37 a.m.
Hi

We used the RTC2.0 JAVA API's(without any issue) to fetch the files from the RTC workspace.

Now we have migrated to the RTC 3.0 but we are facing the below issue for fetching the file from RTC worksapce:

BUILD FAILED
/opt/BuildResources/RTC-maven-snapshot-change-checker/build.xml:18: java.lang.NoSuchMethodError: com.ibm.team.build.internal.scm.SourceControlUtility.getWorkspace(Lcom/ibm/team/repository/client/ITeamRepository;Ljava/lang/String;)Lcom/ibm/team/scm/common/IWorkspace; at com.hsbc.group.buildforge.maven.JazzHelper.streamFiles(JazzHelper.java:172)
at com.hsbc.group.buildforge.maven.JazzGetFileTask.execute(JazzGetFileTask.java:50)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Please let me know, if any one has any information about the changes in the RTC 3.0 JAVA API's.

2 answers



permanent link
Dashrath Kale (1542723) | answered Dec 08 '10, 11:44 p.m.
Note that 'com.ibm.team.build.internal.scm.SourceControlUtility' has 'internal' in it's name, so it's not considered as API. There have been several changes to this class in 3.0. You'll need to recompile your plugin against 3.0, and adapt accordingly if using internals.


Hi Nick,

Thank you for the information.

permanent link
Nick Edgar (6.5k711) | answered Dec 07 '10, 9:58 a.m.
JAZZ DEVELOPER
Note that 'com.ibm.team.build.internal.scm.SourceControlUtility' has 'internal' in it's name, so it's not considered as API. There have been several changes to this class in 3.0. You'll need to recompile your plugin against 3.0, and adapt accordingly if using internals.

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.