Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for input_file_does_not_exist (0.3 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

                    return OUTPUT_DIRECTORY_VALIDATOR;
                default:
                    throw new AssertionError("Unknown tree type " + spec);
            }
        }
    
        private static final String INPUT_FILE_DOES_NOT_EXIST = "INPUT_FILE_DOES_NOT_EXIST";
    
        private static void reportMissingInput(PropertyValidationContext context, String kind, String propertyName, File input) {
            context.visitPropertyProblem(problem -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    Possible solutions:
      1. Make sure the file exists before the task is called.
      2. Make sure that the task which produces the file is declared as an input.
    
    ${validationMessage("input_file_does_not_exist")}
    """
    
            render inputDoesNotExist {
                property('prop')
                dir(location)
                includeLink()
            }
    
            then:
            outputEquals """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    [[input_file_does_not_exist]]
    == Input file doesn't exist
    
    This error occurs whenever a file (or a directory) is declared as an input of a task, but at the moment the task is executed, the file (or directory) doesn't exist.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

        }
    
        String inputDoesNotExist(@DelegatesTo(value = IncorrectInputMessage, strategy = Closure.DELEGATE_FIRST) Closure<?> spec = {}) {
            def config = display(IncorrectInputMessage, 'input_file_does_not_exist', spec)
            config.description("specifies ${config.kind} '${config.file}' which doesn't exist")
                .reason("An input file was expected to be present but it doesn't exist")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top