//---------------------
// Encode the password
//---------------------
Scrambler scr = StandardScrambler.getInstance();
MyConnection conn = new MyConnection();
//---------------------
// Open the connection
//---------------------
globalOptions.setCVSRoot(CVSRoot);
conn.setUserName(cvsRoot.getUser());
conn.setEncodedPassword(scr.scramble(password));
conn.setHostName(cvsRoot.getHost());
conn.setRepository(cvsRoot.getRepository());
conn.verify();
conn.open();
//------------------------
// Setup the client
//------------------------