It seems that GRADLE-971 is still outstanding and Copy.fileMode isn't honored. At least not in the tests I've done with 1.0-milestone-2. Yet I see Gradle's own build.gradle using the property several times. So if wonder if there is some workaround it's using that I might take advantage of?
http://issues.gradle.org/browse/GRADLE-971 Here's one of my tests: task myCopyTask ( type: Copy ) { into ( installDir ) from ( 'src/bin/env' ) fileMode = 0755 } The file is copied, but with 0644 permissions. Cheers! J --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
