-
Notifications
You must be signed in to change notification settings - Fork 151
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
Fix LICENSE/LICENSE.bin for release #495
Conversation
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. Thanks @jbonofre for driving this.
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.
1
Add LICENSE-BINARY-DIST and include the binary distributions
@snazy I nuked the |
@@ -183,4 183,13 @@ tasks.register<Sync>("prepareDockerDist") { | |||
|
|||
tasks.named("build").configure { dependsOn("prepareDockerDist") } | |||
|
|||
distributions { |
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.
Hm - it looks like none of the dist(s) actually works.
./gradlew :polaris-dropwizard-service:assembleDist
generates TWO sets of distributions:
$ ls -1 dropwizard/service/build/distributions/
polaris-dropwizard-service-1.0.0-incubating-SNAPSHOT-license-report.zip
polaris-dropwizard-service-1.0.0-incubating-SNAPSHOT.tar
polaris-dropwizard-service-1.0.0-incubating-SNAPSHOT.zip
polaris-dropwizard-service-shadow-1.0.0-incubating-SNAPSHOT.tar
polaris-dropwizard-service-shadow-1.0.0-incubating-SNAPSHOT.zip
The "non shadow" one has the NOTICE & LICENSE files, but running polaris-dropwizard-service-1.0.0-incubating-SNAPSHOT/bin/polaris-service
leads to
Error: Could not find or load main class org.apache.polaris.service.dropwizard.PolarisApplication
Caused by: java.lang.ClassNotFoundException: org.apache.polaris.service.dropwizard.PolarisApplication
The "shadow" does not have the NOTICE LICENSE files, but running polaris-dropwizard-service-shadow-1.0.0-incubating-SNAPSHOT/bin/polaris-dropwizard-service
does something.
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.
Yes, the polaris-service
script never worked (see #542 ). It's not related to this PR, it's like this for a while.
Good point about "shadow" distribution. I actually wonder if we need both (only one binary distribution is enough).
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.
Frankly speaking, I think it's even better to get #469 in and let it replace the DW stuff entirely. Especially given the amount of issues.
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.
Agree, but that's another PR/proposal/discussion 😄 . In the meantime, I propose:
- To use only one binary distribution (let me test both to see if one actually works 😄 )
- That's a short term solution waiting the "new" runtime
LICENSE
to be included in source distributionLICENSE-BINARY-DIST
and include in the binary distributions