[ 
https://issues.apache.org/jira/browse/GROOVY-11671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952441#comment-17952441
 ] 

Paul King commented on GROOVY-11671:
------------------------------------

We normally run "test" and individual check tasks rather than "build" but we 
should allow it too:

[https://github.com/apache/groovy/commit/97ef1b5866124bfc7aaaac3160e1a264f8b4cc7b]

> Groovy 4_0_X branch fails 
> --------------------------
>
>                 Key: GROOVY-11671
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11671
>             Project: Groovy
>          Issue Type: Bug
>         Environment: Liberica Java 17 JDK
> Latest Version of MacOs
>            Reporter: James Daugherty
>            Assignee: Paul King
>            Priority: Blocker
>
> Check out the 4_0_X branch and run ‘./gradlew build’.  The build fails with 
> the below on Java 17 on MacOS:
>  
> * What went wrong:
> A problem was found with the configuration of task 
> ':groovy-cli-picocli:checkstyleMainReport' (type 'CheckstyleHtmlReport').
>   - In plugin 'org.apache.groovy-bad-practices-detection' type 
> 'org.apache.groovy.gradle.CheckstyleHtmlReport' property 
> 'checkstyleReportFile' specifies file 
> 'myprojectdirectory/subprojects/groovy-cli-picocli/build/reports/checkstyle/checkstyleMain.xml'
>  which doesn't exist.
>     
>     Reason: An input file was expected to be present but it doesn't exist.
>     
>     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.
>     
>     For more information, please refer to 
> [https://docs.gradle.org/8.14/userguide/validation_problems.html#input_file_does_not_exist]
>  in the Gradle documentation.
> * Try:
> > Make sure the file exists before the task is called
> > Make sure that the task which produces the file is declared as an input



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to