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.
71 private static boolean loadProperties(File file, InputStream in, Properties props) {
75 if (file != null) {
76 stream = new FileInputStream(file);
103 File file = new File("/etc/opengrok/opengrok.properties");
104 if (file.exists()) {
105 success = loadProperties(file, null, props);
116 file = new File(args[i].substring("--config=".length()));
117 if (file.exists()) {
118 success = loadProperties(file, null, props);
121 log.severe("Cannot load file '" + file.getAbsolutePath()
122 + "': No such file");