From d1723671a93223535f908ffa83ae6f1ea2f01e1c Mon Sep 17 00:00:00 2001 From: Stephane Bailliez Date: Mon, 17 Jun 2002 14:20:36 +0000 Subject: [PATCH] update the described flag when necessary... git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272896 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/taskdefs/optional/clearcase/CCFile.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java b/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java index a227177f5..6d9218f4b 100644 --- a/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java +++ b/proposal/sandbox/clearcase/src/main/org/apache/tools/ant/taskdefs/optional/clearcase/CCFile.java @@ -65,13 +65,13 @@ import org.apache.tools.ant.BuildException; 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 @@ public class CCFile extends File { String stdout = res.getStdout(); versioned = (stdout.indexOf("view private object") == -1); checkedout = (stdout.indexOf("checkout") != -1); + described = true; } }