public static void setLocalWorkDir(PathImpl path, ClassLoader loader)
  {
    try {
      if (path instanceof MergePath)
        path = ((MergePath) path).getWritePath();

      if (path instanceof MemoryPath) {
        String pathName = path.getPath();

        path = WorkDir.getTmpWorkDir().lookup("qa/" + pathName);
      }
    
      // path.mkdirs();
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
    
    _localWorkDir.set(path, loader);
  }
public static void setLocalWorkDir ( PathImpl path , ClassLoader loader ) { try { if ( path instanceof MergePath ) path = ( ( MergePath ) path ) . getWritePath ( ) ; if ( path instanceof MemoryPath ) { String pathName = path . getPath ( ) ; path = WorkDir . getTmpWorkDir ( ) . lookup ( "qa/" + pathName ) ; } } catch ( Exception e ) { throw new RuntimeException ( e ) ; } _localWorkDir . set ( path , loader ) ; }
Sets the work dir.