<vcs>
  <options>
    <scratch path="scratch" />
    <ccs cmd="cleartool">
      <file args="ls %F" match="\\PATH\\TO\\VIEW\\(.+)@@.+" pos="2" replace="0" delink="1"></file>
      <file cmd="cmd.exe" args='/c echo.bat "Replace \\PATH\\TO\\VIEW in clearcase2.xml and delete this line"' match=".*" pos="1" stoppost="1">
  <extern name="echo.bat"><![CDATA[@echo off
echo %1]]>
  </extern>
      </file>
      <vers args="ls %F" match=".*@@([^ ]*)" pos="2" delink="1"></vers>
      <diff cmd="cmd.exe" args="/c clearcase_diff.bat %d %BF %m %n">
  <extern name="clearcase_diff.bat"><![CDATA[@echo off
C:
cd %1
cleartool diff -dif %2@@%3 %2@@%4]]>
  </extern>
      </diff>
      <bdff cmd="cmd.exe" args="/c clearcase_bdff.bat %d %f %m">
  <extern name="clearcase_bdff.bat"><![CDATA[@echo off
C:
cd %1
cleartool diff -dif %2@@%3 %2]]>
  </extern>
      </bdff>
      <code cmd="cmd.exe" args="/c %c %d %Bf %m %Bw" console="clearcase_code2a.bat" strip="0">
  <extern name="clearcase_code2a.bat"><![CDATA[@echo off
C:
cd %1
cleartool get -to %4\cc.txt %2@@%3
type %4\cc.txt]]>
  </extern>
      </code>
      <link args="ls %f" match="[\w|\:|\.|\/|\\][[\w|\.|\:|\/|\\|\s]+\s-->\s([\w|\.|\:|\/|\\]+)" pos="2"></link>
    </ccs>
  </options>
</vcs>

<!-- 
%F  full path to the local file
%f  local file, equivalent of, cd `dirname %F`, cvs `basename %F`
%D  full path to the local file
%BD full path to the local file, with windows style backslashes
%Bf local file, with windows style backslashes
%BF full path including the local file, with windows style backslashes
%S  local file basename, without the suffix
%S  local file suffix
%m  major version number (i.e. current version)
%n  minor version (i.e. previous version
%r  path root, e.g. 'wget' for path 'wget/src/connect.c'
%i  incremental part of the path, used for progressive checkouts
%c  console output option
%d  project repository setting
%u  user
%p  password
%o1 user settings option1
%o2 user settings option2
%o3 user settings option3
%o4 user settings option4
%H  project host setting
%P  project port setting
%O1 project settings option1
%O2 project settings option2
%O3 project settings option3
%O4 project settings option4
%w  working directory (scratch path)
%Bw scratch path, with windows style backslashes
%A  prqavcs application path
%a  prqavcs application path with short path format on windows
-->
