try {
Exporter exporter = getExporter();
exporter.setRepoPath( path );
exporter.setRepoWs( repoWs );
File zipFile = exporter.doExportAsZip( repositoryFile );
is = getFileInputStream( zipFile );
} catch ( Exception e ) {
return buildServerErrorResponse( e.toString() );
}