It's all about the answers!

Ask a question

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


ramesh m (139) | asked Sep 03 '15, 5:47 a.m.
 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

Accepted answer


permanent link
sam detweiler (12.5k6183201) | answered Sep 03 '15, 6:30 a.m.
I find them in the SDK folder
ramesh m selected this answer as the correct answer

Comments
ramesh m commented Sep 03 '15, 6:59 a.m. | edited Sep 03 '15, 7:09 a.m.

 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


sam detweiler commented Sep 03 '15, 7:12 a.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


Ralph Schoon commented Sep 03 '15, 8:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.





sam detweiler commented Sep 03 '15, 8:18 a.m.

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


Ralph Schoon commented Sep 03 '15, 8:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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


sam detweiler commented Sep 03 '15, 8:25 a.m. | edited Sep 03 '15, 8:25 a.m.

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


Ralph Schoon commented Sep 03 '15, 9:34 a.m. | edited Sep 03 '15, 9:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
Ralph Schoon (59.4k23642) | answered Sep 03 '15, 5:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Sep 03 '15, 5:54 a.m.
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.

Comments
ramesh m commented Sep 03 '15, 7:04 a.m. | edited Sep 03 '15, 7:04 a.m.

 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.


Ralph Schoon commented Sep 03 '15, 8:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
Kunal N (87246) | answered Oct 12 '20, 1:54 a.m.

 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

Your answer


Register or to post your answer.