Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for setSource (0.05 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

        @OutputFile
        abstract RegularFileProperty getDestinationFile();
    
        /**
         * {@inheritDoc}
         */
        @Override
        @PathSensitive(PathSensitivity.NAME_ONLY)
        FileTree getSource() {
            return super.getSource();
        }
    
        @TaskAction
        def extract() {
            Date start = new Date()
    
            //parsing all input files into metadata
            //and placing them in the repository object
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

                        buffer.append(problem.getMessage());
    
                        String location = "";
                        if (!problem.getSource().trim().isEmpty()) {
                            location = problem.getSource();
                        }
                        if (problem.getLineNumber() > 0) {
                            if (!location.isEmpty()) {
                                location += ", ";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertNotNull(
                        location.getSource(), "Profile location source should not be null for profile: " + profile.getId());
                assertTrue(
                        location.getSource().getLocation().contains("pom-with-profiles/pom.xml"),
                        "Profile location should contain 'pom-with-profiles/pom.xml', but was: "
                                + location.getSource().getLocation() + " for profile: " + profile.getId());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
                    if (!buffer.isEmpty()) {
                        buffer.append(", ");
                    }
                    buffer.append(problem.getSource());
                }
            }
    
            if (problem.getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

    import javax.inject.Inject
    
    @CacheableTask
    abstract class Docbook2Xhtml extends SourceTask {
        @Override
        @PathSensitive(PathSensitivity.RELATIVE)
        FileTree getSource() {
            return super.getSource()
        }
    
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputDirectory
        abstract DirectoryProperty getStylesheetDirectory();
    
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputFiles
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 04 07:24:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "", -1, -1, null);
            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getSource());
        }
    
        @Test
        void testGetLocation() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. cmd/namespace-lock.go

    	opsID   string
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    	if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{
    		Timeout:       timeout.Timeout(),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            Profile existing = profilesById.get(profileId);
            if (existing != null) {
                logger.warn("Overriding profile: '" + profileId + "' (source: " + existing.getSource()
                        + ") with new instance from source: " + profile.getSource());
            }
    
            profilesById.put(profile.getId(), profile);
    
            Activation activation = profile.getActivation();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

            assertThrows(
                ConflictingRequirementsException.class, () -> buildTesterRequirements(Tester.class));
        assertThat(e.getConflicts()).containsExactly(FOO);
        assertThat(e.getSource()).isEqualTo(Tester.class.getAnnotation(Require.class));
      }
    
      public void testBuildTesterRequirements_classClassConflict_inherited() {
        @Require(FOO)
        abstract class BaseTester {}
        @Require(absent = FOO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top