sebastian89n sebastian89n - 1 year ago 87
Java Question

How to shelve a pending changes from workspace using Java SDK?

I have a code written using TFS SDK for Java to check-in pending changes from workspace to TFS, however we need to change it, so that files are not directly checked-in, rather they are shelved on the shelveset.

Does any one know how I can do that properly using Java SDK? Or any reference to help me solve this problem.

Answer Source

Check out the code for the CLC (cross platform command line code) which implements the Shelve functionality. Basically it comes down to retrieving the workspace and the calling .shelve.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download