Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
70 private static boolean loadProperties(File file, InputStream in, Properties props) {
74 if (file != null) {
75 stream = new FileInputStream(file);
96 File file = new File("/etc/opengrok/opengrok.properties");
97 if (file.exists()) {
98 success = loadProperties(file, null, props);
109 file = new File(args[i].substring("--config=".length()));
110 if (file.exists()) {
111 success = loadProperties(file, null, props);
114 System.err.println("Cannot load file \"" + file.getAbsolutePath() + "\": No such file");