Protocol error: root request missing
"Card, Justin" <[email protected]> Mon, 28 Jul 2003 10:37:14 -0500
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm working to incorporate the JavaCVS library into a project I'm working on, but whenever I try to update a file or list of files, I keep getting the error in the subject.
The code I'm using to connect and do the update is listed below, and the cvs server is running cvs version 1.11.1p1
Any help on this matter would be greatly appreciated.
Thanks,
Justin Card
if(m_client == null)
{
m_client = new Client(m_connection, new StandardAdminHandler());
m_client.getEventManager().addCVSListener(this);
}
UpdateCommand com = new UpdateCommand();
com.setFiles(files);
com.setRecursive(true);
GlobalOptions options = new GlobalOptions();
options.setCVSRoot(":pserver:"+m_user+"@"+m_server+":"+m_repositoryPath);
try {
m_client.executeCommand(com,options);
} catch (CommandException e) {
e.printStackTrace();
return COMMAND_EXCEPTION;
} catch (AuthenticationException e) {
e.printStackTrace();
return INVALID_PASSWORD;
}