ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Plass <DPl...@TCICREDIT.COM>
Subject RE: Help! ON copying a file
Date Thu, 18 Dec 2003 14:58:52 GMT
Never mind, my bad.
I was accidentally specifying 'tofile' instead of 'todir' on the copy.

Thanks
--DP


-----Original Message-----
From: David Plass [mailto:DPlass@TCICREDIT.COM] 
Sent: Thursday, December 18, 2003 9:16 AM
To: 'user@ant.apache.org'
Subject: 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
 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message