Question

I faced with one gradle issue (or may be groovy related)

When I trying to copy file with .# in its name nothing is happened. Example:

task c(type: Copy) {
  from (".#webclasspath#")
  into "destdir"
}

Please, could you provide way how to process such files?

Was it helpful?

Solution

seems that there is a bug in gradle, ant works just fine

task c_ant << {
  ant.copy(file : '.#webclasspath#', todir : 'destdir')
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top