Building artifact without clutter

60 views
Skip to first unread message

Miroslav Vana

unread,
Apr 18, 2023, 12:09:47 PM4/18/23
to GWT Users
Hello,

I cloned gwt repo, I followed the steps and I created my own local artifact by using "ant clean dist" or "and clean dist-dev".

Everything works, BUT I would like to build artifact that is similar to official released artifacts like this.

Local artifacts have a lot of clutter that I don't need ant it actually causes problems and I was not able to find some parameters or some guideline how to achieve the result. On the screenshot you can see local artifact (left) and the one from official release.

How can I build the artifact without the clutter please?

gwtDifference.png

Colin Alworth

unread,
Apr 18, 2023, 12:14:32 PM4/18/23
to GWT Users

The maven artifacts require one more step to deploy, either to your maven local cache, or to an artifact server you can deploy to. Use the maven/push-gwtproject.sh script (see https://github.com/gwtproject/gwt/blob/main/maven/push-gwtproject.sh) and provide it a version, and optionally a gpg passphrase, maven repository id/url.

See also the nightly snapshot build code, which deploys in this way, by setting those values as env vars (except gpg passphrase) https://github.com/gwtproject/gwt/blob/9f175af25edc9713147d3994c59b4760c9a5346b/.github/workflows/full-check.yml#L95-L108

Miroslav Vana

unread,
Apr 20, 2023, 6:19:02 AM4/20/23
to GWT Users
Hi, thanks a lot.

I create PR with update of the main README to redirect readers to a proper guide: https://github.com/gwtproject/gwt/pull/9828

Reply all
Reply to author
Forward
0 new messages