Skip to content

If custom rewrite file is already in correct destination, runwar overwrites it as 0 bytes #150

@bdw429s

Description

@bdw429s

See this ticket:

https://ortussolutions.atlassian.net/browse/COMMANDBOX-941

Basically if someone provides a custom rewrite file and they've already put it in the correct place in the server home, runwar tries to copy it on stop of itself which wipes it out.

[DEBUG] runwar.server: Copying URL rewrite file /root/serverHome/WEB-INF/urlrewrite.xml to WEB-INF: /root/serverHome/WEB-INF/urlrewrite.xml

Check the source and destination path and skip the copy if the file is already in the correct place. This was on a Docker container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions