It's all about the answers!

Ask a question

SCM and Java API


Antonio Bonanni (1111717) | asked Jan 19 '12, 8:55 a.m.
Hi All,

i'm trying to create a client that update some information on SCM: i wrote code for the login and all is ok but i don't know how to find a way to (programmatically) get last delivery and promote to baseline ( programmatically). I need to know:

1) It's possible to do this task with Java ?
2) if possible, where can i find any doc to create a good piece of code to get work ?

Thanks

One answer



permanent link
Ernest Crvich (19212119) | answered Jan 25 '12, 3:14 p.m.
This is the best place to start for customizations. Chapter 5 has some SCM notes.

https://jazz.net/wiki/bin/view/Main/RtcSdk20

You can dig through the API javadocs to help figure other things out. e.g., you can deliver baselines with IWorkspaceConnection.deliver(). To figure out the latest change set delivered, you'd probably need to do a compareTo() or compareToBaseline() (also with the IWorkspaceConnection object) to get change history...the changes are given in history order.

Your answer


Register or 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.