Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for relativize (8.79 sec)

  1. maven-core/src/main/java/org/apache/maven/ReactorReader.java

        private Path relativizeOutputFile(final Path outputFile) {
            Path projectBaseDirectory =
                    Paths.get(session.getRequest().getMultiModuleProjectDirectory().toURI());
            return projectBaseDirectory.relativize(outputFile);
        }
    
        /**
         * Tries to resolve the specified artifact from the artifacts of the given project.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar  relative/dir");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(
                fullpath("/with/absolute.jar"),
                fullpath("base/relative.jar"),
                fullpath("base/relative/dir"))
            .inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  3. 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);
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataPath(target);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    And we need to get the dependency function from the module `app.dependencies`, the file `app/dependencies.py`.
    
    So we use a relative import with `..` for the dependencies:
    
    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### How relative imports work
    
    !!! tip
        If you know perfectly how imports work, continue to the next section below.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        return modelSource.getLocation();
                    }
    
                    @Override
                    public Source resolve(String relative) {
                        if (modelSource instanceof ModelSource2 ms) {
                            return toSource(ms.getRelatedSource(relative));
                        } else {
                            return null;
                        }
                    }
                };
            }
    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)
  7. docs/en/docs/css/termynal.css

        font-family: 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace;
        border-radius: 4px;
        padding: 75px 45px 35px;
        position: relative;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        line-height: 1.2;
    }
    
    [data-termynal]:before {
        content: '';
        position: absolute;
        top: 15px;
        left: 15px;
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

     */
    @DisableCachingByDefault(because = "This task starts a HTTP server and should not be cached.")
    public abstract class ServeDocs extends DefaultTask {
        @InputFiles
        @PathSensitive(PathSensitivity.RELATIVE)
        protected abstract DirectoryProperty getDocsDirectory();
    
        @Input
        protected abstract Property<Integer> getPort();
    
        @Nested
        protected abstract Property<JavaLauncher> getJavaLauncher();
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Comparators.java

              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        Optional<Path> getArtifactPath(@Nonnull Artifact artifact);
    
        /**
         * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at
         * the returned location, the path merely indicates where the artifact would eventually be stored.
         * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top