badass-jlink-plugin | Create a custom runtime image of your modular application
kandi X-RAY | badass-jlink-plugin Summary
kandi X-RAY | badass-jlink-plugin Summary
Using this Gradle plugin you can create a custom runtime image of your modular application with minimal effort, even if it depends on automatic modules. The plugin also lets you create an application installer with the jpackage tool introduced in Java 14 (see fxgl-sliding-puzzle for a usage example). :bulb: For non-modular applications use the Badass-Runtime plugin.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of badass-jlink-plugin
badass-jlink-plugin Key Features
badass-jlink-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on badass-jlink-plugin
QUESTION
i have created multi module javafx app where I am using log4j2 for logging. The build tool is maven.
When I will run it mvn clean javafx:run Everything works as expected - no issues.
But when I want to run the created runtime image (created with mvn clean compile javafx:jlink) I can see that the logging is not working and I am getting the following error in the console:
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
According to my searches it looks like an issue with log4j2 being non-modular where the solution was created for gradle (badass-jlink-plugin.beryx.org), unfortunately, I am not allowed to use gradle and I did not find anything similar for maven. But I might be wrong...
Can anybody help?
here is the pom file:
...ANSWER
Answered 2020-Aug-07 at 13:32I fixed it by switching to gradle and using badass-jlink-plugin.beryx.org ...
QUESTION
I'm using Gradle with the Badass JLink Plugin to distribute my software. Unfortunately, I can't figure out how to include certain files in the image (e.g. README.md, some test input, etc.). I assume it requires some work in build.gradle
, but I've so far not been able to figure it out.
It's easy to do this using the application
plugin's distZip
functionality by following these instructions, but I prefer to distribute using a jlink image so users don't need to have Java installed.
Is this even possible to do with jlink? If not, it seems like a huge drawback.
...ANSWER
Answered 2019-Jun-28 at 05:41Thanks to the useful comments from @VGR, I was able to come up with this solution to my problem in build.gradle
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install badass-jlink-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page