Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for relative (0.05 sec)

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

    /**
     * A path translator that resolves relative paths against a specific base directory.
     *
     */
    public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator {
    
        private final File basedir;
    
        /**
         * Creates a new path translator using the specified base directory.
         *
         * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

        public String getLocation() {
            return location;
        }
    
        @Override
        public Source resolve(String relative) {
            return new PathSource(path.resolve(relative));
        }
    
        @Override
        public ModelSource resolve(ModelLocator locator, String relative) {
            String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
            Path path = getPath().getParent().resolve(norm);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs/en/overrides/main.html

        </div>
      </div>
      <div id="announce-right" style="position: relative;">
        <div class="item">
          <a title="CryptAPI: Your easy to use, secure and privacy oriented payment gateway." style="display: block; position: relative;" href="https://cryptapi.io/" target="_blank">
            <span class="sponsor-badge">sponsor</span>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
                    // an ordinary relative path, align with project directory
                    result = basedir.resolve(path).normalize().toString();
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

     */
    package org.apache.maven.model.path;
    
    import java.io.File;
    import java.nio.file.Path;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Resolves relative paths of a model against a specific base directory.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelPathTranslator {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.path;
    
    import java.io.File;
    import java.nio.file.Path;
    
    /**
     * Resolves relative paths against a specific base directory.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface PathTranslator {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                return src.toString();
            }
    
            @Override
            public Source resolve(String relative) {
                return ModelSource.fromPath(path.resolve(relative));
            }
    
            @Override
            public ModelSource resolve(ModelLocator locator, String relative) {
                String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

    import java.nio.file.Paths;
    
    /**
     * Resolve relative file path against the given base directory
     */
    public class ResolveFile {
        public static File resolveFile(File file, String baseDirectory) {
            if (file == null) {
                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelSource2 extends ModelSource {
        /**
         * Returns model source identified by a path relative to this model source POM. Implementation <strong>MUST</strong>
         * be able to accept <code>relPath</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator</li>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/first-steps.md

    ///
    
    ```Python hl_lines="6"
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    ////
    
    /// tip
    
    Here `tokenUrl="token"` refers to a relative URL `token` that we haven't created yet. As it's a relative URL, it's equivalent to `./token`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top