Skip to content
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

Add Windows instructions for gradle #80

Closed
wants to merge 1 commit into from
Closed

Add Windows instructions for gradle #80

wants to merge 1 commit into from

Conversation

mic-max
Copy link
Contributor

@mic-max mic-max commented Jun 1, 2022

Towards #77

Changes

  • Use gRPC probe v0.4.11 everywhere
  • Commands to update gradle include in README.md

@mic-max mic-max requested a review from a team June 1, 2022 18:10

```shell
cd src/adservice/
./gradlew installDist
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
./gradlew installDist
.\gradlew installDist

@reyang
Copy link
Member

reyang commented Jun 1, 2022

A general question before looking at the actual PR changes: do we intend to have any platform specific instructions in this repo or not? IMHO the answer is no (it should be platform agnostic, all the details are supposed to be smoothed out by containerization).

@@ -28,6 +28,16 @@ git clone https://github.com/open-telemetry/opentelemetry-demo-webstore.git
cd opentelemetry-demo-webstore/
```

### Gradle Update [Windows Only]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the common practice in Java?
It seems currently a hard copy is saved in the repo (which is surprising to me) https://github.com/open-telemetry/opentelemetry-demo-webstore/blob/77bd1495546b8105efb18a682d564b48acca35ee/src/adservice/gradle/wrapper/gradle-wrapper.jar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, I'll look more into it and also just asked on the slack

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its normal and idiomatic to check the gradlew and corresponding jar file into git.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mic-max
Copy link
Contributor Author

mic-max commented Jun 1, 2022

In favour of this PR from my fork #81

(Git wouldn't let me make further changes to this branch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants