You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Frank (JIRA)" <ji...@apache.org> on 2007/04/21 17:40:18 UTC

[jira] Created: (VFS-128) Sync task does not delete unneeded files

Sync task does not delete unneeded files
----------------------------------------

                 Key: VFS-128
                 URL: https://issues.apache.org/jira/browse/VFS-128
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Frank
            Priority: Minor


When the Sync Ant task encounters a file that is not available in the source directory it writes to the log that it deletes the superfluous file, but it does not actually does it.

In SyncTask I found that the line doing the delete is commented out:

protected void handleMissingSourceFile(final FileObject destFile)
        throws Exception
    {
        log("deleting " + destFile);
        //destFile.delete( Selectors.SELECT_SELF );
    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org