You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/03/28 00:25:58 UTC

[jira] Closed: (MPATCH-1) Support deletion of empty files after the patches have been applied

     [ http://jira.codehaus.org/browse/MPATCH-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MPATCH-1.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 1.1

Applied in [r642023|http://svn.apache.org/viewvc?view=rev&revision=642023], thanks!

> Support deletion of empty files after the patches have been applied
> -------------------------------------------------------------------
>
>                 Key: MPATCH-1
>                 URL: http://jira.codehaus.org/browse/MPATCH-1
>             Project: Maven 2.x Patch Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0
>            Reporter: Napoleon Esmundo C. Ramirez
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: MPATCH-1.patch
>
>
> By default, the patch command does not delete empty files after the patches have been applied. Compilation breaks on empty java sources.  According to the man pages, as a workaround, the to be deleted could be compared to an empty file dated the Epoch (1970-01-01 00:00:00 UTC) if it conforms to POSIX.  Or better yet, use the -E or --remove-empty-files option to be sure.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira