Basil Peace created GROOVY-9057:
-----------------------------------

             Summary: 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: 2.5.2, 3.0.0-alpha-3
            Reporter: Basil Peace


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