I am using the org-netbeans-lib-cvsclient.jar
to execute various cvs commands in a java class that communicates with CVS. I am able to do a cvs checkout command, add, commit, etc.
However, I need to find out which command is equivalent to the cvs ls -R
command.
Here is the code I wrote that allows to do a cvs check out:
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