Will Iverson

Results 34 comments of Will Iverson

https://wyssmann.com/blog/2021/03/how-to-increment-versions-in-maven-builds-alternative-to-maven-release-plugin/

FWIW I don't know much of anything about how deb packaging works. I'm just picking up the package emitted by package. 🤷‍♂️ Glancing at the docs https://docs.oracle.com/en/java/javase/14/docs/specs/man/jpackage.html there are a...

That is absolute exemplar Linux yak shaving... >_

Try downloading a fresh copy of the template and comment out loading the "plugins" in BaseApplication.java as described on the README (I just updated).

Oh, and also try running mvn javafx:run to see if you can get the app to launch at all.

Ha, easy fix - don't work on Sunday. I just took a stab at tweaking the format to yy.ww.WWkkmm - testing now.

Huh. Maybe tweak the timestamp hours/minutes portion and switch to using build numbers...? https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables GITHUB_RUN_NUMBER looks like the best candidate. I believe it's possible to access in the pom.xml as...

yy.ww ${maven.build.timestamp}.${env.GITHUB_RUN_NUMBER} Kind of a strange timestamp w/only granularity of a week. Maybe this should go in a CI specific build profile activated by ${evn.CI} being set to true. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html

If you check out the project on PopOS and run mvn install with a local build, does it work?

Doh. Whatever is going on is at the JavaFX/Linux level. I had never heard of PopOS before, not sure what's going on. A few thoughts: if it's something to do...