// Connect to the MKS Integrity Server
IntegrityLoginCommand login = new IntegrityLoginCommand();
login.setLogger( logger );
assertResultIsSuccess( login.execute( iRepo, fileSet, parameters ) );
// Then make sure we've got a sandbox to work with
IntegrityCheckOutCommand checkout = new IntegrityCheckOutCommand();
checkout.setLogger( logger );
assertResultIsSuccess( checkout.execute( iRepo, fileSet, parameters ) );
}