[jboss-jira] [JBoss JIRA] (WFLY-13118) Delete any existing licenses.html before transforming to create a new one

Ingo Weiss (Jira) issues at jboss.org
Tue Feb 18 05:01:01 EST 2020


Ingo Weiss created WFLY-13118:
---------------------------------

             Summary: Delete any existing licenses.html before transforming to create a new one
                 Key: WFLY-13118
                 URL: https://issues.redhat.com/browse/WFLY-13118
             Project: WildFly
          Issue Type: Enhancement
          Components: Build System
            Reporter: Ingo Weiss
            Assignee: Brian Stansberry
             Fix For: 19.0.0.Beta1


If the transform task in the tasks.xml from the docs.licenses.merge galleon package from more than one f-p gets executed it will fail because the first task to run will create a licenses.html and 'transform' will fail if the target file already exists. So as a safety measure have the tasks delete any such file before doing the transform.

AIUI a fix for GAL-305 will remove the need for this by preventing more than one docs.licenses.merge package being provisioned, but having this in there will do no harm and makes things a bit more robust.

Also, remove the crufty 'alternative-tasks.xml' files from these docs.licenses.merge packages.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list