Hello everyone,

I'm not sure how to get out of this problem.

I have a task that creates a directory (let's say "/a/b/c") and another one
that creates a symlink "/a/b/c/d -> /a/b/c".  I need that symlink for the
purpose of another tool that expects a certain directory structure. Of
course, I have other tasks after that that depends on these first two.

Now gradle gets very confused because of that self-referencing symlink.
The stacktrace is full of:
        at
org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166)
        at
org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166)
        at
org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166)
        at
org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:166)

which means that there is no "self-referencing loop" detection when the
SkipUpToDateTaskExecuter does its business. How can I work around this?
I'm still using gradle 1m3 btw.

Any help would be greatly appreciated!

Jp

Reply via email to