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

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

com.ibm.rational.connector.hudson.client_1.0.400.v20130502_0139.jar
com.ibm.rational.connector.hudson.common_1.0.400.v20130430_2233.jar
com.ibm.rational.connector.hudson.ui_1.0.400.v20130502_0139.jar

please provide me link for these jars and snippet to create the build definiton /procedure to do it

thank in advance

0 votes

Comments

using RTC 7.0.3 libraries




One answer

Permanent link

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.

0 votes

Comments

any other alternative ?

or 
why this set up needed?


  1. Look in https://www.google.com/search?q=build+definition+plain+java+site%3Ajazz.net maybe there are code examples.
  2. 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

Caused by: java.lang.ClassNotFoundException: org.w3c.dom.stylesheets.StyleSheet cannot be found by org.eclipse.e4.ui.css.core_0.10.100.v20140424-2042

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.


So, leaving out the -vm is OK. These newer Eclipse versions will not run with the 1.8 we ship.
 


showing 5 of 6 show 1 more comments

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
× 6,125

Question asked: Jul 16 '24, 2:15 a.m.

Question was seen: 327 times

Last updated: Jul 16 '24, 8:52 a.m.

Confirmation Cancel Confirm