Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InputFileFingerprintingException (0.43 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/InputFingerprinter.java

            }
    
            public String getPropertyName() {
                return propertyName;
            }
        }
    
        class InputFileFingerprintingException extends RuntimeException {
            private final String propertyName;
    
            public InputFileFingerprintingException(String propertyName, Throwable cause) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStepTest.groovy

            }
            0 * _
    
            assertOperation()
        }
    
        def "fails when input properties cannot be snapshot"() {
            def failure = new InputFingerprinter.InputFileFingerprintingException("input", new IOException("Error"))
            when:
            step.execute(work, context)
    
            then:
            def ex = thrown RuntimeException
            ex == failure
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:34 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultInputFingerprinter.java

                    if (result.containsArchiveTrees()) {
                        propertiesRequiringIsEmptyCheck.add(propertyName);
                    }
                } catch (Exception e) {
                    throw new InputFileFingerprintingException(propertyName, e);
                }
            }
    
            public Result complete() {
                return new InputFingerprints(
                    knownCurrentValueSnapshots,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/impl/DefaultInputFingerprinterTest.groovy

            }
    
            then:
            1 * snapshotter.snapshot(fileInput) >> { throw failure }
            0 * _
    
            then:
            def ex = thrown InputFingerprinter.InputFileFingerprintingException
            ex.message == "Cannot fingerprint input file property 'file': java.io.IOException: Error"
            ex.propertyName == "file"
            ex.cause == failure
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

                            inputFileProperty.getLineEndingNormalization(),
                            inputFileProperty::getPropertyFiles));
                } catch (InputFingerprinter.InputFileFingerprintingException e) {
                    throw decorateSnapshottingException("input", inputFileProperty.getPropertyName(), e.getCause());
                }
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top