ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Ant1.8 copy task gives error "Failed to copy" with "Permission denied"
Date Thu, 08 Apr 2010 14:20:38 GMT

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" >
                includes="${SCRIPT_SRCS}" />

When I  use ant1.8.0, it gives error like this

Failed to copy /u/kumari/main/shailja/src/java/a/jsh/mm/script/ to
/u/kumari/main/base/bin/share/ due to
/u/kumari/main/shailja/bin/share/ (Permission denied)

But I have file /u/kumari/main/shailja/src/java/a/jsh/mm/script/
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:
Sent from the Ant - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message