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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to