I am starting a project where we have a web application that we want to run cvs commands to update our production servers. The web application will be a java web page (j2ee). We run on linux servers, and what would happen when the button on the web page would be this:
* do a cvs update of a local repository to get the latest code from cvs
* do an rsync to see what files have changed in multiple projects
* copy only the files that have changed to their respective directories on our application server
* run another script that copies the files from our application server to our content servers (this script is already written)
Can anyone tell me how I would start coding this in Java? I've never run linux (cvs) commands from Java before (I'm kind of new).
Thanks!
* do a cvs update of a local repository to get the latest code from cvs
* do an rsync to see what files have changed in multiple projects
* copy only the files that have changed to their respective directories on our application server
* run another script that copies the files from our application server to our content servers (this script is already written)
Can anyone tell me how I would start coding this in Java? I've never run linux (cvs) commands from Java before (I'm kind of new).
Thanks!