Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for normalize (0.42 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // similar component for re-usage
            if (file != null) {
                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
    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)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public int getType() {
                return LIST_ITEM;
            }
    
            @Override
            public boolean isNull() {
                return (size() == 0);
            }
    
            void normalize() {
                for (int i = size() - 1; i >= 0; i--) {
                    Item lastItem = get(i);
    
                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

                        "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element.");
            }
            Path normal = Paths.get(javahome.getValue()).normalize();
            if (Files.exists(normal)) {
                jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString());
            } else {
                throw new MisconfiguredToolchainException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            }
    
            private final UrlNormalizer normalizer;
    
            UrlNormalizingPostProcessor(UrlNormalizer normalizer) {
                this.normalizer = normalizer;
            }
    
            @Override
            public Object execute(String expression, Object value) {
                if (value != null && URL_EXPRESSIONS.contains(expression)) {
                    return normalizer.normalize(value.toString());
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                if (retValue.length() >= 2 && retValue.charAt(1) == '|') {
                    retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                }
    
                // normalize separators
                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // file. Ideally, we'd do full pattern-evaluation against the sysprops, but this
            // is a first step. There are several replacements below, in order to normalize
            // the path character before we operate on the string as a regex input, and
            // in order to avoid surprises with the File construction...
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

            Path path = getPath().getParent().resolve(norm);
            Path relatedPom = locator.locateExistingPom(path);
            if (relatedPom != null) {
                return new PathSource(relatedPom.normalize(), null);
            }
            return null;
        }
    
        @Override
        public boolean equals(Object o) {
            return this == o || o instanceof PathSource ps && Objects.equals(path, ps.path);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        }
    
        public String toString() {
            return "JDK[" + getJavaHome() + "]";
        }
    
        public String findTool(String toolName) {
            Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize());
            if (toRet != null) {
                return toRet.toAbsolutePath().toString();
            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
    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)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.io.InputStream, String, java.util.Date, boolean) throws Exception; public void setDest(java.io.File); public void setSrc(java.io.File); public void setOverwrite(boolean); public java.io.File resolveFile(java.io.File, String); public java.io.File normalize(String); } org/codehaus/plexus/util/FastMap$1.class package org.codehaus.plexus.util; synchronized class FastMap$1 { } org/codehaus/plexus/util/FastMap$EntryImpl.class package org.codehaus.plexus.util; final synchronized class FastMap$EntryImpl implements...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
Back to top