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

Paul King commented on GROOVY-9057:
-----------------------------------

Agreed, that could certainly do with some improvement. Existing behavior is to 
continue on and process other files even when an error is encountered. Ideally 
a fix would report an error but allow (or optionally allow) all files to be 
processed.

> 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: GroovyDoc
>    Affects Versions: 3.0.0-alpha-3, 2.5.2
>            Reporter: Basil Peace
>            Priority: Major
>
> 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
(v7.6.3#76005)

Reply via email to