Re: Ant1.8 copy task gives error Failed to copy with 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 Before executing copy task /u/kumari/main/shailja/bin/share/run_m.pl does not exists. There is no symlink anywhere in /u/kumari/main/shailja/bin/share, that ant tries to traverse. Anyways this error is comming only with ant1.8.0 not with ant1.7.1. I am not sure about the behavior of ant. :( 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) But I have file /u/kumari/main/shailja/src/java/a/jsh/mm/script/run_m.pl with correct permission. 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? Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org -- View this message in context: http://old.nabble.com/Ant1.8-copy-task-gives-error-%22Failed-to-copy%22-with-%22Permission-denied%22-tp28179282p28188260.html Sent from the Ant - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Ant1.8 copy task gives error Failed to copy with Permission denied
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
Re: Ant 1.8.1
On 2010-04-09, Antoine Levy-Lambert anto...@gmx.de wrote: I was thinking of Ant 1.8.1. I would like to shoot a build next week. I'm afraid we have a serious scalability problem with the property expansion code, see issues 48961 and 49079. OTOH there will likely always be one more bug one could fix, so go for it. Maybe call it 1.8.1_RC1 ? Or directly 1.8.1 1.8.0 can be considered 1.8.1's RC or have we introduced any major change (maybe the modifications to the exec/stream-pumping system)? Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: svn commit: r932456 - /ant/core/trunk/src/main/org/apache/tools/ant/PropertyHelper.java
On 2010-04-09, mben...@apache.org wrote: Address indexOf inefficiency in PropertyHelper embedded skip-double-dollar propertyexpander implementation. Maybe we should also modify the code in DEFAULT_EXPANDER since it will call indexOf repeatedly as well. I've started to write a test for this but even with a couple MB of random text and property references I fail to see any big performance differences between 1.8.0 and 1.7.1 on my machine. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: svn commit: r932456 - /ant/core/trunk/src/main/org/apache/tools/ant/PropertyHelper.java
On Apr 9, 2010, at 10:34 AM, Stefan Bodewig wrote: On 2010-04-09, mben...@apache.org wrote: Address indexOf inefficiency in PropertyHelper embedded skip-double-dollar propertyexpander implementation. Maybe we should also modify the code in DEFAULT_EXPANDER since it will call indexOf repeatedly as well. Let me check that. I've started to write a test for this but even with a couple MB of random text and property references I fail to see any big performance differences between 1.8.0 and 1.7.1 on my machine. I wondered about that. :| Do what we can for now I guess? -Matt Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Ant 1.8.1
Stefan Bodewig wrote: On 2010-04-09, Antoine Levy-Lambert anto...@gmx.de wrote: I was thinking of Ant 1.8.1. I would like to shoot a build next week. I'm afraid we have a serious scalability problem with the property expansion code, see issues 48961 and 49079. OTOH there will likely always be one more bug one could fix, so go for it. I will be happy to go for it. My day job at the moment is making me work hard. I am happy to be able to contribute something, Maybe call it 1.8.1_RC1 ? Or directly 1.8.1 1.8.0 can be considered 1.8.1's RC or have we introduced any major change (maybe the modifications to the exec/stream-pumping system)? I think the modifications of the exec/stream-pumping system are bug fixes and we have less failures/errors in JUnit tests since then. Stefan Regards, Antoine - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org