[ofbiz-framework] branch release17.12 updated: Improved: svg files not removed on clean (OFBIZ-11976)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release17.12 updated: Improved: svg files not removed on clean (OFBIZ-11976)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release17.12 by this push:
     new 977d2af  Improved: svg files not removed on clean (OFBIZ-11976)
977d2af is described below

commit 977d2afb0ffb7eae81fa513daef0d113ede55a34
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue Aug 25 15:00:52 2020 +0200

    Improved: svg files not removed on clean (OFBIZ-11976)
   
    After removing the temporary diles in generateAllPluginsDocumentation
    this removes them also in generatePluginDocumentation.
   
    Despite that they still appear after simply running gradlew ofbiz (without any
    change), I mean:
    ofbiz-framework\plugins\birt\src\docs\asciidoc\images\OFBiz-Logo.svg
    ofbiz-framework\plugins\ebay\src\docs\asciidoc\images\OFBiz-Logo.svg
    ofbiz-framework\plugins\ldap\src\docs\asciidoc\images\OFBiz-Logo.svg
    ofbiz-framework\plugins\myportal\src\docs\asciidoc\images\OFBiz-Logo.svg
    ofbiz-framework\plugins\projectmgr\src\docs\asciidoc\images\OFBiz-Logo.svg
    ofbiz-framework\plugins\solr\src\docs\asciidoc\images\OFBiz-Logo.svg
   
    I have no ideas why :/
---
 build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.gradle b/build.gradle
index bb2071c..cf3d68c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -573,6 +573,7 @@ task generatePluginDocumentation(group: docsGroup) {
                 } else {
                       println "No documentation found for plugin ${component.name}"
                   }
+            doLast { delete "${component}/src/docs/asciidoc/images/OFBiz-Logo.svg" }
             mustRunAfter deletePluginDocumentation
             }
             dependsOn pluginAsciidoc