Derby
  1. Derby
  2. DERBY-4878

Silence sanity info message when running "ant -q"

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Build tools
    • Labels:
      None

      Description

      When I run "ant -q all" (with the patches for DERBY-4876 and DERBY-4877), I now only see these two messages:

      [echo] building generated sanity info
      [java] Warning: Lookahead adequacy checking not being performed since option LOOKAHEAD is more than 1. Set option FORCE_LA_CHECK to true to force checking.

      The message about generating sanity info hardly looks worth printing when running ant in quiet mode, so I suggest that we change its reporting level from warning (default) to info. This will make the message show up when running ant in default mode, and suppress it when running in quiet mode.

      1. info.diff
        0.4 kB
        Knut Anders Hatlen

        Activity

        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1029454.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1029454.
        Hide
        Knut Anders Hatlen added a comment -

        The attached patch changes the reporting level for the message to info.

        Show
        Knut Anders Hatlen added a comment - The attached patch changes the reporting level for the message to info.

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development