Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-936

Plugins build should fail fast by default

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:

      Description

      The build script has a task 'plugins' that will build all plugins. Default behavior is to skip over a plugin when it fails to build. Although there's a build warning, this warning gets lost in the verbose output of the entire build process.

      To work around this issue, an optional property is evaluated. When the property "halt.on.plugin.error" is defined, the build will fail when the first plugin failure occurs. However, by default, this property is not defined (nor documented). This leads to quite a few situations where developers are unaware that one or more plugins failed.

      The failure condition should be inversed: a build should fail by default when one or more plugins fail, unless a property has been defined to explicitly ignore this (and restore the old behavior).

        Attachments

          Activity

            People

            • Assignee:
              guus Guus der Kinderen
              Reporter:
              guus Guus der Kinderen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: