private void registerProjects() throws ExitCodeException, N4JSCompileException {
  if (projectLocations == null) {
    throw new ExitCodeException(EXITCODE_WRONG_CMDLINE_OPTIONS,"Require option for projectlocations.");
  }
 else {
    HeadlessHelper.registerProjects(convertToFilesAddTargetPlatformAndCheckWritableDir(projectLocations),fbWorkspace);
  }
}

private void registerProjects ( ) throws ExitCodeException , N4JSCompileException { if ( projectLocations == null ) { throw new ExitCodeException ( EXITCODE_WRONG_CMDLINE_OPTIONS , "Require option for projectlocations." ) ; } else { HeadlessHelper . registerProjects ( convertToFilesAddTargetPlatformAndCheckWritableDir ( projectLocations ) , fbWorkspace ) ; } }
configure the injected file based workspace in order to run ( called if no compile precedes the run )
