Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for is_windows (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top