Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2104

clover description attribute suppresses all other targets in -projecthelp

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.16.0
    • build
    • None

    Description

      Running "ant -projecthelp" should print a list of available targets; instead it outputs:

      Buildfile: build.xml
      
      Main targets:
      
       clover  Instrument the Unit tests using Clover.  Requires a Clover license and clover.jar in the ANT classpath.  To use, specify -Drun.clover=true on the command line.
      Default target: compile
      

      When ant has "main" targets- i.e. targets with descriptions- by default it only outputs those targets when run with -projecthelp. Since clover is the only target in build.xml with a description, it's the only target reported to the user. The description should either be removed or descriptions should be added to some subset of targets.

      Attachments

        1. 2104-0.patch
          7 kB
          Christopher Douglas

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cdouglas Christopher Douglas
            cdouglas Christopher Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment