ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: DirectoryScanner and Symlinks
Date Wed, 10 Sep 2008 23:28:03 GMT
On Wed, Sep 10, 2008 at 2:58 PM, Gilles Scokart <gscokart@gmail.com> wrote:
> If I take the example,
>          I <-----\
>         / \      |
>        /   \     |
>       B     C    |
>      /       \   |
>     /         \  |
>  file.txt      A--/
>
> and I start with /, with the pattern /**/*.txt, even with a
> maxLevelsOfSymlinks 1, I will get
> /B/file.txt
> /C/A/B/file.txt
>
> Clearly, you get twice the same file.  Maybe that's not what the user
> want.  But which one should we choose?

What matters most is to not get into infinite loops.

If someone puts cycles in its links, I'm not sure there's much we can
do more than avoid the infinite loop. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message