/**
  * Finalize project export (compressing and cleanup)
  * 
  * @param void
  * @return null
  */
 function finish()
 {
     require_once PROJECT_EXPORTER_MODULE_PATH . '/models/ProjectExporterOutputBuilder.class.php';
     $compress = $this->request->get('compress');
     $output_builder = new ProjectExporterOutputBuilder($this->active_project, $this->smarty, null);
     if ($compress) {
         $output_builder->compressOutput();
     }
     // if
     $this->serveData($output_builder->execution_log, 'execution_log', null, FORMAT_JSON);
 }