Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
Operating System: other
Platform: Other
-
38491
Description
I found that using the <v-copy> or <v-sync> that if the source file
(s)/directory does not exist then the code logs a warning, instead of throwing
a BuildException.
A fix could be made here:
org.apache.commons.vfs.tasks.AbstractSyncTask
Change method private void handleFiles() throws Exception
if (!srcFile.exists()) then throw a BuildException
A future enhancement is supporting a failonerror attribute.