SCM and Java API
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
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
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.
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.