private void parseOutput()

in src/com/intellij/vssSupport/commands/GetProjectListener.java [77:104]


  private void parseOutput( String errorOutput )
  {
    String[] lines = LineTokenizer.tokenize( errorOutput, false );

    int offset = 0;
    String localPath = "";
    while( offset < lines.length )
    {
      LineType lineType = whatSubProjectLine( lines, offset );
      if( lineType != LineType.NO_PROJECT )
      {
        localPath = constructLocalFromSubproject( lines, offset );
        localPath = VssUtil.getLocalPath( localPath, project );

        offset += (lineType == LineType.SIMPLE_FORMAT) ? 1 : 2;
      }
      else
      {
        //  Files which are 2005-formatted are simply skipped.
        if( !isStringVss2005Formatted( lines[ offset ] ) )
        {
          if( lines[ offset ].trim().length() > 0 )
              analyzeLine( lines[ offset ], localPath );
        }
        offset++;
      }
    }
  }