Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-308

Website has very out of date usage (site generation issue)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.5.0
    • Documentation
    • None
    • Production

    Description

      At time of writing the website at https://commons.apache.org/proper/commons-cli/usage.html has very out of date usage examples, eg, 

       
      {{Option logfile = OptionBuilder.withArgName( "file" )
      .hasArg()
      .withDescription( "use given file for log" )
      .create( "logfile" );}}

       At first I thought this was just documentation neglect, but digging around a little, it seems like the doco in git is pretty up to date, and site generation was accidentally broken in December with a dependabot upgrade to the maven antrun plugin. An old version from svn gets picked up instead

      https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-cli/usage.html

      I have a small patch as a possible fix.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            adamburkegh Adam Burke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m