283N/A * The contents of this file are subject to the terms of the 283N/A * Common Development and Distribution License (the "License"). 283N/A * You may not use this file except in compliance with the License. 283N/A * language governing permissions and limitations under the License. 283N/A * When distributing Covered Code, include this CDDL HEADER in each 283N/A * If applicable, add the following below this CDDL HEADER, with the 283N/A * fields enclosed by brackets "[]" replaced with your own identifying 283N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1248N/A * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. 283N/A * Access to a ClearCase repository. 1182N/A /** The property name used to obtain the client command for this repository. */ 1182N/A /** The command to use to access the repository if none was given explicitly */ 1462N/A * Create a new instance of type {@code ClearCase}. 283N/A * Use verbose log messages, or just the summary 283N/A * @return true if verbose log messages are used for this repository 283N/A * Specify if verbose log messages or just the summary should be used 283N/A * @param verbose set to true if verbose messages should be used 633N/A * Get an executor to be used for retrieving the history log for the 1473N/A * @param file The file to retrieve history for (canonical path incl. source 633N/A * @return An Executor ready to be started 283N/A // cleartool can't get to a previously existing file 283N/A // delete the temporary file on close 283N/A // failed, lets do the next best thing then .. 283N/A // delete it on JVM exit 283N/A // Clean up zombie-processes... 283N/A // the process is still running??? just kill it.. 404N/A * Drain all data from a stream and close it. 404N/A * @param in the stream to drain 404N/A * @throws IOException if an I/O error occurs 1190N/A // ignored - stream isn't seekable, but skipped variable still 460N/A // No bytes skipped, checked that we've reached EOF with read() 283N/A // Check if this is a snapshot view 357N/A in =
null;
// To avoid double close in finally clause 283N/A // It is a snapshot view, we need to update it manually 283N/A // Todo: is there a cheap test for whether ClearCase has history 283N/A // available for a file? 283N/A // Otherwise, this is harmless, since ClearCase's commands will just 283N/A // print nothing if there is no history. 314N/A // if the parent contains a file named "view.dat" or 1018N/A // the parent is named "vobs" or the canonical path 1018N/A // is found in "cleartool lsvob -s"