Derby
  1. Derby
  2. DERBY-5458

Add ant target to generate JavaDocs bundle

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Build tools
    • Labels:
      None

      Description

      Add an ant target that builds the JavaDocs and then zips them up into a bundle.
      Introduced to achieve a higher degree of platform independence when pulling JavaDocs from ci and build systems. In this specific case, it allows Hudson to invoke an ant target instead of relying on a shell script or similar.

        Activity

        Kristian Waagan created issue -
        Hide
        Kristian Waagan added a comment -

        Attaching patch 1a, which adds the target 'javadoc-with-bundle'. It zips up the contents of trunk/javadoc into trunk/javadoc/javadocs.zip.

        Committed to trunk with revision 1182444.

        It seems that trunk/javadoc isn't cleaned by clean/clobber, so it maybe the zip should be deleted by 'ant javadoc'. Maybe there's a reason why clobber leaves out trunk/javadoc?

        Show
        Kristian Waagan added a comment - Attaching patch 1a, which adds the target 'javadoc-with-bundle'. It zips up the contents of trunk/javadoc into trunk/javadoc/javadocs.zip. Committed to trunk with revision 1182444. It seems that trunk/javadoc isn't cleaned by clean/clobber, so it maybe the zip should be deleted by 'ant javadoc'. Maybe there's a reason why clobber leaves out trunk/javadoc?
        Kristian Waagan made changes -
        Field Original Value New Value
        Attachment derby-5458-1a-javadoc_with_bundle.diff [ 12498772 ]
        Hide
        Kristian Waagan added a comment -

        Attaching patch 2a, which makes the target delete the existing bundle before zipping up the various docs. Otherwise the zip-operation fails.

        Committed to trunk with revision 1185045.

        Show
        Kristian Waagan added a comment - Attaching patch 2a, which makes the target delete the existing bundle before zipping up the various docs. Otherwise the zip-operation fails. Committed to trunk with revision 1185045.
        Kristian Waagan made changes -
        Hide
        Kristian Waagan added a comment -

        Resolving issue.

        Show
        Kristian Waagan added a comment - Resolving issue.
        Kristian Waagan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Kristian Waagan added a comment -

        Closing issue.

        Show
        Kristian Waagan added a comment - Closing issue.
        Kristian Waagan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12637485 ] Default workflow, editable Closed status [ 12796652 ]

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development