Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-323 Harmonize UIs
  3. RAT-450

Bug: Deprecation warning does not contain dots at the end of sentences

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17
    • None

    Description

      While enabling the current SNAPSHOT on a project that used v0.16.1 I realized that the format of the error message could be more user-friendly.

        1. Shown behaviour

      [WARNING] Parameter 'addDefaultLicenseMatchers' (user property 'rat.addDefaultLicenseMatchers') is deprecated: use <config>
      [WARNING] Parameter 'excludes' is deprecated: Deprecated for removal since 0.17: Use <inputExclude> instead.
      [WARNING] Parameter 'useDefaultExcludes' (user property 'rat.useDefaultExcludes') is deprecated: when set to true specifies that the STANDARD_PATTERNS are excluded, as are the STANDARD_SCMS patterns. Use the various InputExclude and InputInclude elements to explicitly specify what to include or exclude.
      [WARNING] Parameter 'useEclipseDefaultExcludes' (user property 'rat.useEclipseDefaultExcludes') is deprecated: when set to true specifies that the ECLIPSE patterns are excluded Use "inputIncludeStd ECLIPSE" to override.
      [WARNING] Parameter 'useIdeaDefaultExcludes' (user property 'rat.useIdeaDefaultExcludes') is deprecated: when set to true specifies that the IDEA patterns are excluded Use "inputIncludeStd IDEA" to override.
      [WARNING] Parameter 'useMavenDefaultExcludes' (user property 'rat.useMavenDefaultExcludes') is deprecated: when set to true specifies that the MAVEN patterns are excluded Use "inputIncludeStd MAVEN" to override.

        1. Expected behaviour

      [WARNING] Parameter 'useMavenDefaultExcludes' (user property 'rat.useMavenDefaultExcludes') is deprecated: when set to true specifies that the MAVEN patterns are excluded. Use "inputIncludeStd MAVEN" to override.

      This seems to work fine Options as is printed:
      [WARNING] Option [-e, --exclude] used. Deprecated for removal since 0.17: Use --input-exclude instead.

      WDYT? claudenw@users.sourceforge.net
       

      Attachments

        Issue Links

          Activity

            People

              pottlinger Philipp Ottlinger
              pottlinger Philipp Ottlinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: