﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
844	symlink task - overwrite not working	eedsele@…	mrook	"Hi Phing team,

first of all, let me thank you for your work!
We just started working with Phing and already like it very much.


We are working with the 'symlink' task and have a strange reproducible behaviour:


{{{
root@svn-deploy:/home/deployment/sync/ttibecore# ln -s /home/deployment/releases/bla 0.3

root@svn-deploy:/home/deployment/sync/ttibecore# ls -l
insgesamt 0
lrwxrwxrwx 1 root root 29 19. Jan 09:57 0.3 -> /home/deployment/releases/bla

root@svn-deploy:/home/deployment/sync/ttibecore# phing -f /root/phing/core/build.xml deploy
Buildfile: /root/phing/core/build.xml
[...]
  [symlink] Linking: /home/deployment/releases/ttibecore/0.3.8 to /home/deployment/sync/ttibecore/0.3
[...]
root@svn-deploy:/home/deployment/sync/ttibecore# ls -l
insgesamt 0
lrwxrwxrwx 1 root root 29 19. Jan 09:57 0.3 -> /home/deployment/releases/bla
root@svn-deploy:/home/deployment/sync/ttibecore#
}}}



As you can see, symlink task echos that the link was changed, but didn't change it.

Here is the relevant part of the build file:

{{{
        <symlink
            target=""${release_dir}/${application}/${tag}""
            link=""${sync_dir}/${application}/${official_tag}""
            overwrite=""true""
        />
}}}

We are currently using Phing 2.4.9.
Please let me know if you need further information.

Best regards,
Sebastian"	defect	closed	major	2.4.10	phing-tasks-ext	2.4.9	fixed	symlink	
