ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase CCFile.java
Date Mon, 17 Jun 2002 14:20:37 GMT
sbailliez    2002/06/17 07:20:37

  Modified:    proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase
                        CCFile.java
  Log:
  update the described flag when necessary...
  
  Revision  Changes    Path
  1.4       +4 -3      jakarta-ant/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java
  
  Index: CCFile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CCFile.java	11 Jan 2002 20:49:37 -0000	1.3
  +++ CCFile.java	17 Jun 2002 14:20:36 -0000	1.4
  @@ -65,13 +65,13 @@
   public class CCFile extends File {
   
       /** is it checkedout */
  -    private boolean checkedout;
  +    private boolean checkedout = false;
   
       /** is it under source control ? */
  -    private boolean versioned;
  +    private boolean versioned = false;
   
       /** was this file already described once ? */
  -    private boolean described;
  +    private boolean described = false;
   
       public CCFile(String parent, String child) {
           super(parent, child);
  @@ -131,5 +131,6 @@
           String stdout = res.getStdout();
           versioned = (stdout.indexOf("view private object") == -1);
           checkedout = (stdout.indexOf("checkout") != -1);
  +        described = true;
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message