-
Notifications
You must be signed in to change notification settings - Fork 54
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 ./gradlew assemble #44
Comments
I ran into this and found the solution. That's an error from using a newer JDK version. You need to use JDK 8. Looks like it also needs nodejs 8. It fails to build on nodejs 10 or 12 with a compilation failure in libsass due to newer version of v8. |
In my case it was missing the path to XCode used by node-gyp, a node module that node-sass depends on. But even though I installed XCode After that I could run ps.: I'm running on macOS Catalina (10.15.3 (19D76)) |
So this project is currently limited to being compiled with JDK v8? How bad are the dependencies on v8? Asking differently, what breaks when v10 or (even better) v11 is used? And the killer question - is the original maintainer @holmari still interested in keeping this alive? There are a couple of problems right off the bat
This pull request gets the build working: #48 |
@chrisinmtown I wrote this tool when working at my previoius company, where we were using Gerrit. I haven't been using Gerrit for over 3 years however, so I haven't maintained this either. If others want to contribute to it, I'd be happy to add a collaborator if there's a volunteer! |
Please test again @vogella . After @holmari merged my PR #48 I can build with the current gradle wrapper in the repo and this java on Mac OSX: java 11.0.4 2019-07-16 LTS |
Build works fine with current head. Thank you. But if I try to run gerrit_stats.sh on a downloaded json I get: vogella@spike:~/git/gerritstats$ ./gerrit_stats.sh -f gerrit_out/ --branches master |
The above was with Java 14, with Java 11 I get: vogella@spike:~/git/gerritstats$ ./gerrit_stats.sh -f gerrit_out/ --branches master |
@chrisinmtown sorry, missed your comment. I use the Eclipse Gerrit server for testing. To download Gerrits: ./gerrit_downloader.sh --server lvogel@git.eclipse.org/ --project platform/eclipse.platform.ui --project platform/eclipse.platform.swt --project platform/eclipse.platform.text --project platform/eclipse.platform.resources --project platform/eclipse.platform.ua --project platform/eclipse.platform.team -a 2020-02-01 --output-dir gerrit_out/ To create report: ./gerrit_stats.sh -f gerrit_out/ --branches master You may have to create your own user in Gerrit / Bugzilla (https://bugs.eclipse.org/) and replace lvogel with your new user. Not sure if that works without user. |
@chrisinmtown works great, thanks a bunch for your update! |
👍 |
Error message: * What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
The text was updated successfully, but these errors were encountered: