Integrating Java with CVS

M

Mark Schnitzius

I'm planning a Java tool that handles some calls to CVS.

How do software tools "typically" integrate with CVS? Is it just a
matter of executing the cvs command (say, via Runtime.exec()) and then
capturing and parsing the output? Or is there a neater way of
integrating, say with some sort of API?


--Mark
 
J

John C. Bollinger

Mark said:
I'm planning a Java tool that handles some calls to CVS.

How do software tools "typically" integrate with CVS? Is it just a
matter of executing the cvs command (say, via Runtime.exec()) and then
capturing and parsing the output? Or is there a neater way of
integrating, say with some sort of API?

I have code that does the former. It works. The alternative is to
write or borrow Java code that speaks one or more of CVS' protocols.
There was at one time a Java GUI for CVS (named JCVS) that did the
latter; it may still be around somewhere.
 
R

Ross Bamford

I'm planning a Java tool that handles some calls to CVS.

How do software tools "typically" integrate with CVS? Is it just a
matter of executing the cvs command (say, via Runtime.exec()) and then
capturing and parsing the output? Or is there a neater way of
integrating, say with some sort of API?


--Mark

I notice that Netbeans make their CVS client available. I guess the
Eclipse one will be in their source too (at least I don't _think_ it uses
the cvs command... ?)

Anyway, I've not used it, but can't imagine there's much wrong with it:

http://javacvs.netbeans.org/library/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top