-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build fails due to missing -PetaSendMetrics #40
Comments
Note: this has also become a minor problem for templated, automated builds, where we have a fresh checkout on every execution, and expect to be able to simply |
@joshsh For your first post, maybe you can specify in your docs that users installing Eta for the first time should run using that extra flag? For your second post: You can customize your |
I solved this problem by adding |
@joshsh I gave this some thought and realized the main problem here is that this is treated as a build failure w/ an exception which gives a confusing message. Would it help instead if it just printed the message without so much noise? |
I have created a gradle-eta build for my Haskell-based project so users don't have to install the Haskell Tool Stack; ideally, they just type
./gradlew run
and a JVM build commences. However, new users are running into the following build failure:I realize that users just need to run
./gradlew run -PetaSendMetrics=true
or./gradlew run -PetaSendMetrics=false
once to get around the issue, but this is not immediately obvious. The best I can do is hard-code-PetaSendMetrics=false
into a script.Is it possible to default to not sending metrics, but include an info message that invites users to use
-PetaSendMetrics=true
on a subsequent run?The text was updated successfully, but these errors were encountered: