You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/12/19 00:17:46 UTC

[jira] [Created] (DOXIASITETOOLS-126) don't copy resources when rendering documents but copy all resources in 1 call

Hervé Boutemy created DOXIASITETOOLS-126:
--------------------------------------------

             Summary: don't copy resources when rendering documents but copy all resources in 1 call
                 Key: DOXIASITETOOLS-126
                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-126
             Project: Maven Doxia Sitetools
          Issue Type: Improvement
          Components: Site renderer
    Affects Versions: 1.6
            Reporter: Hervé Boutemy
             Fix For: 1.7


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)