com.ibm.rational.connector.buildforge not found in PlainJavaAPI RTC 4.0.5
We have a java program that creates build definitions for us.
Our build definitions use Build Forge, i.e. they need/have a Build Forge tab.
We just upgraded our server to RTC 4.0.5 from RTC 3 and the existing program compiled against RTC 3 java libs works fine.
I just recompiled against RTC 4.0.5 Plain Java libs and I get a crash because
IBuildConfigurationElement bfelement = BuildConfigurationRegistry.getInstance().getBuildConfigurationElement(
elementName);
does not find anything.
elementName is set to com.ibm.rational.connector.buildforge.
So I guess I need to know the elementName for the BF tab.
I ran a
IBuildConfigurationElement[] elemList = BuildConfigurationRegistry.getInstance().getBuildConfigurationElements();
System.out.println("Elem list: " + Arrays.toString(elemList));
and there is no buildforge or forge at all in there.
So what am I missing or is something missing from the PlainJavaAPI?
Our build definitions use Build Forge, i.e. they need/have a Build Forge tab.
We just upgraded our server to RTC 4.0.5 from RTC 3 and the existing program compiled against RTC 3 java libs works fine.
I just recompiled against RTC 4.0.5 Plain Java libs and I get a crash because
IBuildConfigurationElement bfelement = BuildConfigurationRegistry.getInstance().getBuildConfigurationElement(
elementName);
does not find anything.
elementName is set to com.ibm.rational.connector.buildforge.
So I guess I need to know the elementName for the BF tab.
I ran a
IBuildConfigurationElement[] elemList = BuildConfigurationRegistry.getInstance().getBuildConfigurationElements();
System.out.println("Elem list: " + Arrays.toString(elemList));
and there is no buildforge or forge at all in there.
So what am I missing or is something missing from the PlainJavaAPI?
Comments
Martina Riedel
Nov 25 '14, 3:50 p.m.ok, I found a partial answer in that I compared our API folder with the downloaded one and found 2 additional jars, com.ibm.rational.connector.buildforge.client_3.0.2.v20110831_0247.jar and com.ibm.rational.connector.buildforge.common_3.0.2.v20110831_0247.jar.
So the question now is where did we get those jars from and are they BF version specific?