You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Savinder Puri <Sa...@symphonysv.com> on 2003/04/07 16:31:20 UTC

Checking for any checked-out files in VSS

Hi All,
 
I need to check incase any file is checked-out from the VSS, before
creating the build.
 
Since the VSS "status" task is not implemented, i've used the following
work-around :
 
    <target name="checkVssStatus">
       <exec executable="ss" output="checked_out.txt">
           <arg value="status"/>
           <arg value="$/vss_path"/>
           <arg value="-R"/>
      </exec>
 </target>
 
Indeed, i get the result in "checked_out.txt".... however i still do-not
know incase any file was checked out or not :-(
 
Would i have to parse the file (apply regex etc)... or is there some
SIMPLY ANTy way of achieving the above.
Maybe i'm un-necessarily complicating a simple task (i hope i am !!).
 
Please advice.
 
Regards,
Savinder.