Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Window (0.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         */
        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-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                // path was already absolute, just normalize file separator and we're done
                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path, don't align with project directory but with drive root
                s = file.getAbsolutePath();
            } else {
                // an ordinary relative path, align with project directory
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

                if (path.isAbsolute()) {
                    // path is already absolute, we're done
                } else if (path.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with base dir but with drive root
                    result = path.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with base dir
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
                        // special case: if there is a windows drive letter, then keep the original return value
                        retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                    } else {
                        // Now we expect the host
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            assertEquals(
                    Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS));
            assertEquals(mojo.uri, path.toUri());
            assertEquals(mojo.path, path);
            assertEquals(mojo.uriString, path.toUri().toString());
            assertEquals(mojo.uriAsciiString, path.toUri().toASCIIString());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                        .repositories(List.of(central))
                        .pluginRepositories(List.of(centralWithNoUpdate))
                        .build();
            }
    
            // for the special case of a drive-relative Windows path, make sure it's absolute to save plugins from trouble
            String localRepository = effective.getLocalRepository();
            if (localRepository != null && !localRepository.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertEquals(
                    Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS));
            assertEquals(mojo.uri, path.toUri());
            assertEquals(mojo.path, path);
            assertEquals(mojo.uriString, path.toUri().toString());
            assertEquals(mojo.uriAsciiString, path.toUri().toASCIIString());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
Back to top