-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Nightly Builds
-
Fix Version/s: None
-
Labels:None
-
Environment:
Operating System: other
Platform: Other
-
Bugzilla Id:38491
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.