athena-oss / plugin-gradle

Plugin for running gradle tasks
https://athena-oss.github.io/plugin-gradle/
Apache License 2.0
4 stars 3 forks source link

Paramter --skip-sync problem #6

Open yael-lorenzo opened 7 years ago

yael-lorenzo commented 7 years ago

There is a very big problem with the parameter --skip-sync. If you don't use it, athena will create a cache directory where it will run the instructions and if the instructions generate an output file it will be lost when athena finishes because if is out of sync.

IMO the documentation should be updated. I think that the back sync is hard to implement as a global solution because of many things as files generated, dependencies downloaded, etc. Perhaps it would be possible to configure what folders could be back synced in the athena.json file.

ghost commented 7 years ago

@yael-lorenzo-olx What kind of files are being generated inside the cache directory, which you would like to be able to access after Athena runs? Maybe if we simply generate these important files in a configurable path then RSync would not be an issue anymore.

yael-lorenzo commented 7 years ago

This is only happening in MAC OS as in Ubuntu this parameter is not used and the sync always work.

An example are report files.

pproenca commented 7 years ago

Hey @yael-lorenzo-olx can you please try with the latest changes from the gradle plugin master?

The plugin now also requires Athena v0.10.4