Hi All,
I used ant1.8.0 to build my project. In build.xml I have following lines of
code. I am putting snippet of code as only copy section gives me error.
<mkdir dir="${TOPDIR}/${SCRIPT_DEST}" />
<copy todir="${TOPDIR}/${SCRIPT_DEST}"
failonerror="true" flatten="true" >
<fileset
dir="${basedir}"
id="script.srcs"
includes="${SCRIPT_SRCS}" />
</copy>
When I use ant1.8.0, it gives error like this
Failed to copy /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl to
/u/kumari/main/base/bin/share/run_m.pl due to java.io.FileNotFoundException
/u/kumari/main/shailja/bin/share/run_m.pl (Permission denied)
But I have file /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl
with correct permission.
Note: The above error is not comming with ant1.7.1
Is it a bug in ant1.8.0 or somewhere I am doing wrong here ?
--
View this message in context:
http://old.nabble.com/Ant1.8-copy-task-gives-error-%22Failed-to-copy%22-with-%22Permission-denied%22-tp28179282p28179282.html
Sent from the Ant - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]