maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MCLEAN-45) Clean plugin should support a silent retry in case the first attemp fails
Date Sat, 07 Aug 2010 16:30:32 GMT

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

Benjamin Bentmann closed MCLEAN-45.
-----------------------------------

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

The plugin was already making two attempts for deletion (the second after 10ms waiting), which
is now further extended in [r983256|http://svn.apache.org/viewvc?view=revision&revision=983256].
Now, the plugin makes up to four attempts to delete a file, after delays of 125, 250 and 750
ms, respectively. A new snapshot has been deployed, I would appreciate some feedback whether
this logic is more effective.

> Clean plugin should support a silent retry in case the first attemp fails
> -------------------------------------------------------------------------
>
>                 Key: MCLEAN-45
>                 URL: http://jira.codehaus.org/browse/MCLEAN-45
>             Project: Maven 2.x Clean Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.4.1
>            Reporter: Michael Hinterseher
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 2.4.2
>
>
> Sometimes file are accessed by third party software like virus scanners or search indexing
while clean goal is performed. This causes the clean plugin to fail.
> In case a file can't be deleted right away it would be good to wait for a short period
of time and then try to delete it again. Only if second trial also fails the build should
fail.

-- 
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

        

Mime
View raw message