On 2010-04-09, SHAILJA <shalja.ru...@gmail.com> wrote: > Stefan Bodewig wrote:
>> On 2010-04-08, SHAILJA <shalja.ru...@gmail.com> wrote: >>> 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) >> The error is about /u/kumari/main/shailja/bin/share/run_m.pl not the >> file you mention. Could there be a symbolic link somewhere that Ant >> tries to traverse but can't? > Copy task is copying from > /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl to > /u/kumari/main/shailja/bin/share/run_m.pl location That's what the error message says, yes ;-) > Before executing copy task /u/kumari/main/shailja/bin/share/run_m.pl > does not exists. OK. What about the /u/kumari/main/shailja/bin/share/run_m.pl location? Any idea why Ant ist traying to touch this? I thought there might be a symbolic link pointing from /u/kumari/main/shailja/bin/share to /u/kumari/main/shailja/bin/share (or connecting the bin directories) or something connecting /u/kumari/main/shailja/src/java/a/jsh/mm/script to /u/kumari/main/shailja/bin/share. > Anyways this error is comming only with ant1.8.0 not with ant1.7.1. I > am not sure about the behavior of ant. :( We have changed a few things WRT handling of symbolic links (that's why I asked). Can you give us the -verbose output of the copy task in question? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org