public static ConfigurationDirectory downloadConfiguration(final String path,final String sourceAnchor) throws Exception {
  ProcessBuilder pb=new ProcessBuilder(ConfProxyProperties.getDownloadScriptPath(),sourceAnchor,path);
  pb.redirectErrorStream(true);
  pb.redirectOutput(ProcessBuilder.Redirect.INHERIT);
  log.debug("Running '{} {} {}' ...",ConfProxyProperties.getDownloadScriptPath(),sourceAnchor,path);
  runConfClient(pb);
  return new ConfigurationDirectory(path);
}

public static ConfigurationDirectory downloadConfiguration ( final String path , final String sourceAnchor ) throws Exception { ProcessBuilder pb = new ProcessBuilder ( ConfProxyProperties . getDownloadScriptPath ( ) , sourceAnchor , path ) ; pb . redirectErrorStream ( true ) ; pb . redirectOutput ( ProcessBuilder . Redirect . INHERIT ) ; log . debug ( "Running '{} {} {}' ..." , ConfProxyProperties . getDownloadScriptPath ( ) , sourceAnchor , path ) ; runConfClient ( pb ) ; return new ConfigurationDirectory ( path ) ; }
invoke the configuration client script to download the global configuration from the source defined in the provided source anchor .
