- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for is_windows (0.18 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java
/** * OS Family */ public static final String OS_FAMILY; /** * Boolean indicating if the running OS is a Windows system. */ public static final boolean IS_WINDOWS; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_WINDOWS = "windows"; /** * OS family that can be tested for. {@value} */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java
*/ public static void addEnvVars(Properties props) { if (props != null) { if (envVars == null) { Properties tmp = new Properties(); boolean caseSensitive = !Os.IS_WINDOWS; for (Map.Entry<String, String> entry : System.getenv().entrySet()) { String key = "env."
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:01:36 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
return null; } private static Path findTool(String toolName, Path installDir) { Path bin = installDir.resolve("bin"); // NOI18N if (Files.isDirectory(bin)) { if (Os.IS_WINDOWS) { Path tool = bin.resolve(toolName + ".exe"); if (Files.exists(tool)) { return tool; } } Path tool = bin.resolve(toolName);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:01:36 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
null); result.getProblems().add(problem); continue; } if (Os.IS_WINDOWS) { // we don't canonicalize on unix to avoid interfering with symlinks try { moduleFile = moduleFile.getCanonicalFile();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 56.9K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 26 09:46:00 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
@Override protected void doStop() { notifyFailed(new IllegalStateException("stop failure")); } } public void testServiceStartupTimes() { if (isWindows() && isJava8()) { // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607 return; } Service a = new NoOpDelayedService(150); Service b = new NoOpDelayedService(353);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
MoreFiles.createParentDirectories(path); assertTrue(Files.exists(parent)); assertTrue(Files.exists(grandparent)); } public void testCreateParentDirectories_noPermission() { if (isWindows()) { return; // TODO: b/136041958 - Create/find a directory that we don't have permissions on? } Path file = root().resolve("parent/nonexistent.file"); Path parent = file.getParent();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
assertThat(temp.listFiles()).isEmpty(); File child = new File(temp, "child"); assertThat(child.createNewFile()).isTrue(); assertThat(child.delete()).isTrue(); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions())
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class) .readAttributes();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
assertThat(temp.listFiles()).isEmpty(); File child = new File(temp, "child"); assertThat(child.createNewFile()).isTrue(); assertThat(child.delete()).isTrue(); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions())
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0)