Skip to content

[MWAR-455] Exploded war task fails on second run when file that was previously read only is updated #536

@jira-importer

Description

@jira-importer

Seth Wilcox opened MWAR-455 and commented

For background, we are using perforce, which marks files as readonly until local modification. As such, when using the exploded target for faster incremental builds, when a file is updated, when the war task attempts to copy the updated resource file, it fails with a accessDenied exception.  If the read only flag is cleared on the target, or the target file that is in the way is removed, the issue is fixed.  I would propose adding a force/override field akin to ant file copy tasks to allow those of us with this specific issue a path around it, while protecting others who may want the read only flag respected


Attachments:

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions