Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9057

Groovydoc should set exit code on errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-3, 2.5.2
    • None
    • GroovyDoc

    Description

      Whenever the error occurs, GroovyDoc just reportsĀ it:

      ERROR [org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder] ignored due to RecognitionException: a/Test.java [expecting EOF, found '}']

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            grv87 Basil Peace
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: