// Compute the project root directory
String projectRoot = projectName.substring( 0, projectName.lastIndexOf( '/' ) );
// Now, lets parse this project
Command siViewProjectCmd = new Command( Command.SI, "viewproject" );
siViewProjectCmd.addOption( new Option( "recurse" ) );
siViewProjectCmd.addOption( new Option( "project", fullConfigSyntax ) );
MultiValue mvFields = new MultiValue( "," );
mvFields.add( "name" );
mvFields.add( "context" );
mvFields.add( "memberrev" );
mvFields.add( "membertimestamp" );
mvFields.add( "memberdescription" );
siViewProjectCmd.addOption( new Option( "fields", mvFields ) );
api.getLogger().info( "Preparing to execute si viewproject for " + fullConfigSyntax );
Response viewRes = api.runCommand( siViewProjectCmd );
// Iterate through the list of members returned by the API
WorkItemIterator wit = viewRes.getWorkItems();