How can we Create Plan in RTC using Plain Java API,
Accepted answer
Comments
Could you Please share me the URL (or) jars to my email ramesh.mm485@gmail.com
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.
2 other answers
Comments
Hi Ralph,
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.