public void execute()

in src/net/sourceforge/transparent/DescribeMultipleProcessor.java [29:58]


  public void execute()
  {
    file2Activity = new HashMap<>();

    int currFileIndex = 0;
    int batchStartIndex = 0;
    int cmdLineLen;
    LinkedList<String> options = new LinkedList<>();
    while( currFileIndex < files.length )
    {
      cmdLineLen = DESCRIBE_COMMAND.length() + FMT_SWITCH.length() + FORMAT_SIG.length();

      options.clear();
      options.add( DESCRIBE_COMMAND );
      options.add( FMT_SWITCH );
      options.add( FORMAT_SIG );

      while( currFileIndex < files.length && cmdLineLen < CMDLINE_MAX_LENGTH )
      {
        String path = files[ currFileIndex++ ];
        options.add( path );
        cmdLineLen += path.length() + 1;
      }

      String[] aOptions = ArrayUtil.toStringArray(options);
      String out = TransparentVcs.cleartoolWithOutput( aOptions );
      parseCleartoolOutput( out, batchStartIndex );
      batchStartIndex = currFileIndex;
    }
  }