Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-126

don't copy resources when rendering documents but copy all resources in 1 call

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: Site renderer
    • Labels:
      None

      Description

      found while working on MSITE-744: copying resources during document rendering has bad side effects:

      • multiple executions of resources copy, since rendering is done 3 times (Doxia docs, reports and generated Doxia docs)
      • when there is no generated Doxia docs to render, resources are not copied (= MSITE-744)

      in addition, calling copyResources for each resource directory copies skin resources for each resource directory: instead of having a siteResourcesDirectory argument, the method should iterate directly on site rendering context

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Herve Boutemy
                Reporter:
                hboutemy Herve Boutemy
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: