Lines Matching refs:prop

44 		String prop = System.getProperty("singleton");  in run()  local
45 if ("true".equalsIgnoreCase(prop) || "yes".equalsIgnoreCase(prop)) { in run()
51 prop = findOpenofficeHome(); in run()
52 System.setProperty("openoffice.home", prop); in run()
53 log.log(Level.INFO, MessageFormat.format("OpenOffice in {0} will be tested.", prop)); in run()
57 File file = FileUtil.findFile(prop, jar); in run()
66 String prop = System.getProperty("openoffice.home"); in findOpenofficeHome() local
67 if (prop != null) { in findOpenofficeHome()
68 validateOpenOfficeInstallation(new File(prop)); in findOpenofficeHome()
69 return prop; in findOpenofficeHome()
72 if ((prop = System.getProperty("openoffice.pack")) != null) { in findOpenofficeHome()
75 if (FileUtil.isUrl(prop)) { in findOpenofficeHome()
76 log.log(Level.INFO, MessageFormat.format("Try to download {0}...", prop)); in findOpenofficeHome()
78 if (!prop.equals(url)) { in findOpenofficeHome()
81 packFile = FileUtil.download(prop, downloadDir); in findOpenofficeHome()
83 throw new RuntimeException(MessageFormat.format("{0} can not be downloaded!", prop)); in findOpenofficeHome()
84 FileUtil.writeStringToFile(downloadUrl, prop); in findOpenofficeHome()
87 packFile = FileUtil.download(prop, downloadDir, true, skipped); in findOpenofficeHome()
89 throw new RuntimeException(MessageFormat.format("{0} can not be downloaded!", prop)); in findOpenofficeHome()
91 …new RuntimeException(MessageFormat.format("{0} is old. Test is allowed only on new build.", prop)); in findOpenofficeHome()
94 packFile = new File(prop); in findOpenofficeHome()
96 … throw new RuntimeException(MessageFormat.format("{0} does not exists or is not a file!", prop)); in findOpenofficeHome()