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

How can we Create Plan in RTC using Plain Java API,

 In Plain java API the jars related to Plan are not available Like( com.ibm.team.apt.* and  com.ibm.js.*) jars not avaible in plan Api libs. where can i get these jars. Please help me on this.

Best Regards,
ramesh M

0 votes


Accepted answer

Permanent link
I find them in the SDK folder
ramesh m selected this answer as the correct answer

0 votes

Comments

 Could you Please share me the URL (or)  jars to my email ramesh.mm485@gmail.com

Is it Licensed version? Please respond asap.

Best Regards,
ramesh m

If you go to the allDownloads page for the RTC version , you can find the SDK download

for 6.0 it is here
https://jazz.net/downloads/rational-team-concert/releases/6.0?p=allDownloads

I just realized Sam is right. To create a plan seems to require

import com.ibm.team.apt.common.IIterationPlanRecord;
import com.ibm.team.apt.internal.common.rcp.IIterationPlanService;
import com.ibm.team.apt.internal.common.rcp.dto.DTO_IterationPlanSaveResult;
import com.ibm.team.apt.internal.common.wiki.IWikiPage;

If you follow the links on how to set up your environment with the SDK however, you can basically copy the missing jar's from the RTC SDK into a folder and include that in the classpath. I have used that in another scenario that I have not yet published.

Please be aware, that you then rely an internal API and SDK API even more and run in an unsupported mode.




don't copy.. just make a 'user library' that includes those jars.. and use that library with the plainjava user library..

You can do that too, but if you want to be able to deploy on machines with only PlainJavaAPI installed, copy also works.

wait.. there is development, and deployment.. the plan libs are on the eclipse client, cause they need to use them.  you should NOT ship your own

I was only talking about the development side setup

By following Setting up Rational Team Concert for API Development you don't have to add a user library at all for development. You make the development project a plugin and add the dependencies and the plain java client libraries as user library and it simply works and allows you to use the PDE to look at the source code for the SDK/plain Java. This is why I never realized I had included classes from the SDK in the first place.

showing 5 of 7 show 2 more comments

2 other answers

Permanent link
https://rsjazz.wordpress.com/2015/06/11/creating-plans-with-the-plain-java-client-api/at least for me it seems all the required jars are in the plain java libraries.

0 votes

Comments

 Hi Ralph,

            I did not find the below classes from the plain java API jars.
import com.ibm.js.team.api.workitem.common.utils.DevelopmentLineHelper;
import com.ibm.js.team.api.workitem.common.utils.ProcessAreaUtil;
import com.ibm.team.apt.common.IIterationPlanRecord;
import com.ibm.team.apt.internal.common.rcp.IIterationPlanService;
import com.ibm.team.apt.internal.common.rcp.dto.DTO_IterationPlanSaveResult;
import com.ibm.team.apt.internal.common.wiki.IWikiPage;

Note: I have gone through your example. you used the above classes to create Plan.

The DevelopmentLineHelper and the ProcessAreaUtil are included in the downloafd on the post. the oters are in the SDK as Sam suggests. I did not realize that when I posted the blog, because I always use the Plain Java Client Libraries in conjunction with the SDK. As described in my blog, this allows you to use the Eclipse PDE tools to search for API and look at the code.


Permanent link

 We are unable to find Jars  for "com.ibm.js.team.api.workitem.common.utils.workflow". anyone able to find this jars. Please share the link to download.


Thanks,
Kunal

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,951

Question asked: Sep 03 '15, 5:47 a.m.

Question was seen: 3,237 times

Last updated: Oct 12 '20, 1:54 a.m.

Confirmation Cancel Confirm