Copy action skips '#' directory on copy in Gradle 2.11+

gradle-3418
issue-acknowledged

(Danny Thomas) #1

We found an apparent regression in copy actions. With Gradle 2.11, or 2.12, a path that has a directory named ‘#’ (in this case, it’s a npm module directory) is no longer makes it into packages in our packing plugin:


(Sterling Greene) #2

Thanks. I reproduced this with 2.11 and master. I raised this as GRADLE-3418

It has something to do with the way we handle Ant default excludes. As a workaround, you can remove the offending Ant default exclude:

org.apache.tools.ant.DirectoryScanner.removeDefaultExclude("**/#*#")

But this needs a proper fix on our side.


(Danny Thomas) #3

Great, thanks for the quick response Sterling!


(Pepper Lebeck-Jobe) #4

This has been fixed as reflected in GRADLE-3418 and should be part of the next release.