creation of build definition by RTC plain libraries
i tried to get the jenkins build definition template
IBuildDefinitionTemplate HJtemplate = BuildConfigurationRegistry.getInstance().getBuildDefinitionTemplate("com.ibm.rational.connector.hudson.ui.buildDefinitionTemplate");
giving null
tried to add jars but,am not able find the below jars
please provide me link for these jars and snippet to create the build definiton /procedure to do it
thank in advance
One answer
I would suggest to perform the EWM Extensions workshop to set up an environment, where you can see how the SDK creates build definitions. See https://rsjazz.wordpress.com/2024/02/09/ewm-rational-team-concert-extensions-workshop-changes-for-7-0-3/ for how to.
The jar files mentioned above are part of the SDK.
Once you have set up your environment, you can use that to develop your Plain Java code.
Comments
any other alternative ?
or
why this set up needed?
- Look in https://www.google.com/search?q=build+definition+plain+java+site%3Ajazz.net maybe there are code examples.
- Because you have then access to sample code e.g. classes like CreateBuildDefinitionSnippet that you can copy/paste. My opinion is, if you don't have the SDK development set up, don't do plain java development.
You need to do lab 1. 1.1 to 1.4 and 1.10
while starting ecllipse i am facing with issuse in logs
At the end of 1.3
if i remove the -vm option in ini file then its working
is it ok to remove that option?
Unfortunately the SDK does not work with all Eclipse versions. I tried the EWM workshop for 7.0.3 with Eclipse 2022/09 (4.25). I kept it running on the java VM that it ships with. I did not create a new -vm as explained in the workshop. For the Plain Java Client Library development, I added a 1.8 VM in Eclipse that is the used to run the plain java.
Comments
Ganadakshaka K
Jul 16 '24, 2:17 a.m.using RTC 7.0.3 libraries