-
Notifications
You must be signed in to change notification settings - Fork 89
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
1604: Unify behavior in gradlew and gradlew.bat #1377
Conversation
👋 Welcome back erikj! A progress list of the required criteria for merging this PR into |
Webrevs
|
These two scripts seems to be created automatically when creating a gradle project. Just a note. |
That's normally true in most projects built with gradle, but in Skara they are hand crafted to also pull down a suitable JDK to build with. AFAIK, there isn't much similarity at all with the scripts provided/produced by Gradle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
As an aside, I think it's somewhat scary how we modify the gradlew wrapper. Conceptually, I think that should be provided by gradle, and unchanged by us.
(But changing that is outside the scope of this PR, and I do not have a ready suggestion for how to do this otherwise)
@erikj79 This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 🔍 One or more changes in this pull request modifies files in areas of the source code that often require two reviewers. Please consider if this is the case for this pull request, and if so, await a second reviewer to approve this pull request before you integrate it. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
/integrate |
This patch changes the gradlew.bat script to download and extract Gradle and the JDK in the same locations as the gradlew bash script, so that running either script interchangeably works fine in the same workspace.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/skara pull/1377/head:pull/1377
$ git checkout pull/1377
Update a local copy of the PR:
$ git checkout pull/1377
$ git pull https://git.openjdk.org/skara pull/1377/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1377
View PR using the GUI difftool:
$ git pr show -t 1377
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/skara/pull/1377.diff