[
https://issues.apache.org/jira/browse/GROOVY-9057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King resolved GROOVY-9057.
-------------------------------
Fix Version/s: 6.0.0-alpha-1
Assignee: Paul King
Resolution: Fixed
> Groovydoc should set exit code on errors
> ----------------------------------------
>
> Key: GROOVY-9057
> URL: https://issues.apache.org/jira/browse/GROOVY-9057
> Project: Groovy
> Issue Type: Bug
> Components: groovy-groovydoc
> Affects Versions: 3.0.0-alpha-3, 2.5.2
> Reporter: Basil Peace
> Assignee: Paul King
> Priority: Major
> Labels: contrib
> Fix For: 6.0.0-alpha-1
>
>
> Whenever the error occurs, GroovyDoc just reportsĀ it:
> {code:java}
> ERROR [org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder] ignored due
> to RecognitionException: a/Test.java [expecting EOF, found '}']{code}
> and exits with success.
> Whenever error occurs, GroovyDoc should set exit code so that whoever called
> Groovydoc could handle the failure, e.g. stop the build.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)