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

Brian Stansberry (Jira) issues at jboss.org
Thu Jan 9 15:49:42 EST 2020


Brian Stansberry created WFLY-12953:
---------------------------------------

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


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