Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isWindows (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

                isNT = !is9x;
            }
            switch (family) {
                case FAMILY_WINDOWS:
                    return isWindows;
                case FAMILY_WIN9X:
                    return isWindows && is9x;
                case FAMILY_NT:
                    return isWindows && isNT;
                case FAMILY_OS2:
                    return actualOsName.contains(FAMILY_OS2);
                case FAMILY_NETWARE:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. 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())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            CODEQL_ENVIRONMENT_VARIABLES.any { it in System.getenv() }
        }
        val jvm = org.gradle.internal.jvm.Jvm.current()
        val javaVersion = JavaVersion.current()
        val isWindows = OperatingSystem.current().isWindows
        val isLinux = OperatingSystem.current().isLinux
        val isMacOsX = OperatingSystem.current().isMacOsX
        val isIntel: Boolean = architecture == "x86_64" || architecture == "x86"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. 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())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
                    commandLine = listOf("cmd.exe", "/d", "/c") + commandLine
                }
            }
            return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 10:02:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                            + "Note: On Windows Jansi or JNA library must be included in classpath.");
                } else if (OSUtils.IS_WINDOWS) {
                    config = new ConsolePrompt.UiConfig(">", "( )", "(x)", "( )");
                } else {
                    config = new ConsolePrompt.UiConfig("❯", "◯ ", "◉ ", "◯ ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            cmdAndArguments.add(invokerRequest
                    .installationDirectory()
                    .resolve("bin")
                    .resolve(
                            Os.IS_WINDOWS
                                    ? invokerRequest.parserRequest().command() + ".cmd"
                                    : invokerRequest.parserRequest().command())
                    .toString());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top