Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for translatePath (0.16 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java

        /**
         * Translates the specified path.
         *
         * @param path The path to translate, may be {@code null}.
         * @return The translated path or {@code null} if none.
         */
        File translatePath(File path);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

         *            translation.
         */
        public BasedirBeanConfigurationPathTranslator(File basedir) {
            this.basedir = basedir;
        }
    
        public File translatePath(File path) {
            File result = path;
    
            if (path != null && basedir != null) {
                if (path.isAbsolute()) {
                    // path is already absolute, we're done
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                return evaluate(expression, null);
            }
    
            public File alignToBaseDirectory(File file) {
                if (translator != null) {
                    return translator.translatePath(file);
                }
                return file;
            }
        }
    
        static class XmlConverter extends AbstractConfigurationConverter {
            @Override
            public boolean canConvert(Class<?> type) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top