gluonfx-gradle-plugin icon indicating copy to clipboard operation
gluonfx-gradle-plugin copied to clipboard

Integrate tracing agent into plugin

Open mipastgt opened this issue 5 years ago • 3 comments

I love the idea to be able to create a native application for a lot of platforms, but for real-world applications the real PITA is to identify and configure all the classes which are loaded via reflection and all the resources that may be needed as well. I would therefore like to see the already existing tracing agent beeing integrated into the plugins (Maven and Gradle).

See: https://medium.com/graalvm/introducing-the-tracing-agent-simplifying-graalvm-native-image-configuration-c3b56c486271

Without the help of such a tool I don't see a real chance to get any reasonably sized application running as a native application.

Many thanks for the great work so far. Michael

mipastgt avatar Jun 14 '19 15:06 mipastgt

This looks interesting and I agree with Michael on that. Only: It should also be integrated into the Maven plugin as well.

bgmf avatar Sep 23 '19 11:09 bgmf

Absolutely true. (also about the maven request). Before we can do that, we need to have the GraalVM tracing agent working with Java 11+ and the JNI platform, but that is just a matter of time.

johanvos avatar Sep 23 '19 11:09 johanvos

@bgmf Of course this also applies to the Maven plugin (and actually this is my preferred one) but as these are two separate projects you always have to create cross-references for such issues (which I obviously forgot).

mipastgt avatar Sep 23 '19 12:09 mipastgt