DO NOT REPLY [Bug 25181] - SYMLINK task creates cyclic symlinks

2003-12-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks





--- Additional Comments From [EMAIL PROTECTED]  2003-12-22 02:08 ---
Created an attachment (id=9655)
Fixed silly netscape html wrapper (obsoletes previous attachment)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25181] - SYMLINK task creates cyclic symlinks

2003-12-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks





--- Additional Comments From [EMAIL PROTECTED]  2003-12-22 02:03 ---
The patch just attached contains an amended testcase that fails based on this
report with the old code, and a patch to make the amended test case pass.

In doing this I took the position that the recorded symlinks take precedence
over the existing links, since that seems to me to be the case that is likely to
be more common. As the patch stands running a recreate will alter existing links
to match the recorded version. I am not sure if links to files were altered in
the past, but I think that was the behavior (links to directories were
mishandled as per this bug). If it is desired, I could put in an atribute that
controls whether or not links are overwritten and set the behavior to be default
whichever way seems most useful to the rest of the world. Let me know if you
want me to do that.

This overwriting behavior is also covered in the amended testcase.

After I go eat dinner, I am going to check the manual page for symlink to see if
the overwiting behavior is documented and patch it if it is not.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25181] - SYMLINK task creates cyclic symlinks

2003-12-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks





--- Additional Comments From [EMAIL PROTECTED]  2003-12-22 01:49 ---
Created an attachment (id=9654)
Fix for bug 25181 with coresponding tests

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25181] - SYMLINK task creates cyclic symlinks

2003-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks





--- Additional Comments From [EMAIL PROTECTED]  2003-12-20 19:20 ---
I have replicated this in a failing test case now.

It seems I have run afoul of a polymorphic syntax in the ln command

   ln [OPTION]... TARGET [LINK_NAME]
   ln [OPTION]... TARGET... DIRECTORY

Obviously, I need to account for this Hopefully by later today.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25181] - SYMLINK task creates cyclic symlinks

2003-12-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6Beta |1.6.0

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25181] - SYMLINK task creates cyclic symlinks

2003-12-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks





--- Additional Comments From [EMAIL PROTECTED]  2003-12-12 19:55 ---
Nice to see someone using my task, not so nice to see a bug... :)

I take it that b is a directory? I know why I havn't run into this though... I
use Symlink it in a context where every thing is deleted and replaced each time.
I am pretty busy at work right now, but I will try to find time to look at this
in the near future. (maybe this weekend, maybe next?) Please bug me if you don't
see anything by then.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]