TrigonicSolutions / gradle-rpm-plugin

Gradle plugin for constructing RPM packages.
Apache License 2.0
38 stars 19 forks source link

fileMode and dirMode must be explicitly given in gradle 1.0 milestone 9 #15

Closed david-resnick closed 11 years ago

david-resnick commented 12 years ago

As of milestone 9 the default values for CopySpec.fileMode and CopySpec.dirMode is null (previously the members were ints with defaults of 0644 and 0755).

So as of milestone 9 values must be given for fileMode (and dirMode where createDirectoryEntry=true).

This breaks src/test/groovy/com/trigonic/gradle/plugins/rpm/RpmPluginTest.groovy well because of no default for fileMode (but misses dirMode).

AlanKrueger commented 11 years ago

I haven't been able to reproduce this. We're building with Gradle 1.2 and both explicit and implicit fileModes and I don't think we're seeing this issue.