private static boolean isWindows() { return CrfSuite.getPlatformDetector().getPlatformId() .startsWith(PlatformDetector.OS_WINDOWS); }
protected static boolean isWindows() { return CrfSuite.getPlatformDetector().getPlatformId() .startsWith(PlatformDetector.OS_WINDOWS); }
protected static boolean isWindows() { return VowpalWabbit.getPlatformDetector().getPlatformId() .startsWith(PlatformDetector.OS_WINDOWS); }
public File getExecutable() throws Exception { if (runtimeProvider == null) { String platform = detector.getPlatformId(); LogFactory.getLog(CrfSuiteTestTask.class.getName()) .info("Load binary for platform: [" + platform + "]"); runtimeProvider = new RuntimeProvider(classpath); } return runtimeProvider.getFile("crfsuite"); }
public static File getExecutable() throws Exception { if (runtimeProvider == null) { String platform = detector.getPlatformId(); LogFactory.getLog(CrfSuiteTestTask.class.getName()) .info("Load binary for platform: [" + platform + "]"); runtimeProvider = new RuntimeProvider(classpath); } return runtimeProvider.getFile("crfsuite"); }
public File getExecutable() throws Exception { catchWindows32BitUsers(); if (runtimeProvider == null) { String platform = detector.getPlatformId(); LogFactory.getLog(VowpalWabbitTestTask.class.getName()) .info("Load binary for platform: [" + platform + "]"); runtimeProvider = new RuntimeProvider(classpath); } return runtimeProvider.getFile("vw"); }
try { manifestUrl = resolveLocation( baseLocation + platformDetector.getPlatformId() + "/manifest.properties", this, null); platformId = platformDetector.getPlatformId(); sb.append("No files found for [").append(platformDetector.getPlatformId()) .append("]"); if (fallbackTo32Tried) { log.warn("No binaries found for [" + platformDetector.getPlatformId() + "], using [" + platformId + "] instead");