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

Extending Team Concert 3.0

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.

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
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.

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

Question asked: Dec 06 '10, 4:37 a.m.

Question was seen: 5,122 times

Last updated: Dec 06 '10, 4:37 a.m.

Confirmation Cancel Confirm