This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes How to access VSS through Java Code?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to access VSS through Java Code??" Watch "How to access VSS through Java Code??" New topic
Author

How to access VSS through Java Code??

Thiagu Sin
Greenhorn

Joined: Jan 10, 2009
Posts: 13
Hi guys,

I have a question, how am I suppose to check-out and check in a file to VSS using Java codes? Is it possible? Is there any APIs for it?


Regards,
-Thiagu-
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You'll need to call ss.exe via a ProcessBuilder. Check the source for Ant's VSS task, they must do this already.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There's also Eclipse and Hudson plugins, and at least one commercial library.
 
GeeCON Prague 2014
 
subject: How to access VSS through Java Code??