You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Plass <DP...@TCICREDIT.COM> on 2003/12/18 15:15:44 UTC
Help! ON copying a file
For some weird reason a 'copy' task is failing, reliably.
I create a (set of )temporary directories
./dist
./dist/configurations
./dist/configurations/app
Then use a filter to put a file into ./dist/configurations/app:
./dist/configurations/app/web.xml
Then, copy to another directory, also created by Ant:
./build/app/WEB-INF
However, the last copy ALWAYS fails:
BUILD FAILED
file:C:/scripts/buildscripts/buildapp.xml:653: Failed to copy
C:\dev\dist\configurations\app\web.xml to
C:\dev\build\app\WEB-INF due to C:\dev\build\app\WEB-INF (Access is deni
ed)
Thanks
--DP