Skip to content

Latest commit

 

History

History
49 lines (25 loc) · 1.23 KB

File metadata and controls

49 lines (25 loc) · 1.23 KB

FlywayOnGraalVmNativeTest

A simple application with Java 11+, JavaFX 15+, GraalVM, FlywayDB & HSQLDB.

Documentation

Read about such a sample here. This project is a modified version for that's sample project with Flyway & HSQLDb implementation.

Quick Instructions

We use GluonFX plugin to build a native image for platforms including desktop and android. Please follow the prerequisites as stated here.

See HSQLDB Sample Project

Note: Currently, only Desktop version of this sample if under focused.

Desktop

Run the application on JVM/HotSpot:

mvn gluonfx:run

Run the application and explore all scenarios to generate config files for the native image with:

mvn gluonfx:runagent

Build a native image using:

mvn gluonfx:build

Run the native image app:

mvn gluonfx:nativerun

Other Info:

Common log files:

/target/gluonfx/log/

Windows log files:

/target/gluonfx/x86_64-windows/gvm/log/

Issues

  • Flywaydb is not working with GraalVM native-image e.g. Migration files are not loading when running native .exe.