You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Presently it's a little cumbersome to generate the native image config graal needs for programs that may use reflection. One such way of doing it includes using the Graal JVM and running the application with native-image-agent enabled and pointing to a config dir. This method is described here.
Doing this manually currently requires doing something like the following:
./gradlew installDist # to build the application and install start scripts
JAVA_HOME=~/.gradle/caches/com.palantir.graal/19.2.0/graalvm-ce-19.2.0/Contents/Home JAVA_OPTS=-agentlib:native-image-agent=config-output-dir=./native-image-config build/install/app-name/bin/app-name application-arguments-here
It would be quite convenient if there was a task provided by this plugin that was similar to the run task provided by the application but made sure to run against the Graal JVM with the right flags specified to make it easier to emit the native image config in cases when the application can run locally (saving the hassle of doing what I specified above).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What happened?
Presently it's a little cumbersome to generate the native image config graal needs for programs that may use reflection. One such way of doing it includes using the Graal JVM and running the application with
native-image-agent
enabled and pointing to a config dir. This method is described here.Doing this manually currently requires doing something like the following:
It would be quite convenient if there was a task provided by this plugin that was similar to the
run
task provided by the application but made sure to run against the Graal JVM with the right flags specified to make it easier to emit the native image config in cases when the application can run locally (saving the hassle of doing what I specified above).The text was updated successfully, but these errors were encountered: