bmuschko / gradle-cargo-plugin

Gradle plugin that provides deployment capabilities to local and remote containers via Cargo
Apache License 2.0
258 stars 61 forks source link

Add Option To Set File Mode On Copied Files #172

Closed opticyclic closed 5 years ago

opticyclic commented 6 years ago

I need to set some environment variables using the setenv.sh file in Tomcat.

However, even when the original file is executable, the copied file is not.

The file closure in the local closure should take a fileMode property.

bmuschko commented 6 years ago

The underlying Cargo Ant task currently doesn't support setting a file mode. See the reference for more information. I suggest you request the feature on their mailing list.

bmuschko commented 5 years ago

This has to be requested with the Cargo project. I am going to close the issue. Let me know when it is available there.