I use org-netbeans-lib-cvsclient.jar to execute various cvs commands in a java class that interacts with CVS. I can execute the cvs check command, add, commit, etc.
However, I need to find out which command is equivalent to the cvs ls -R .
Here is the code I wrote that allows you to do cvs validation:
CheckoutCommand command = new CheckoutCommand(); command.setBuilder(null); command.setRecursive(true); command.setModule(module); if(revision!=null) { command.setCheckoutByRevision(revision); } command.setPruneDirectories(true); command.setUseHeadIfNotFound(true); executeCommand(command, AnonymizerConstants.DEFAULT_LOCAL_PATH);
I need to do something similar for CVS ls -R or CVS rls
java cvs
Wael
source share