From e268195620bbd7a053d39295bbfb789711c45f3e Mon Sep 17 00:00:00 2001 From: Krishnananthalingam Tharmigan <63336800+TharmiganK@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:21:18 +0530 Subject: [PATCH] Update native directory path --- docs/graalvm-compatibility-in-ballerina-libraries.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/graalvm-compatibility-in-ballerina-libraries.md b/docs/graalvm-compatibility-in-ballerina-libraries.md index e7343ddd..bf770f52 100644 --- a/docs/graalvm-compatibility-in-ballerina-libraries.md +++ b/docs/graalvm-compatibility-in-ballerina-libraries.md @@ -206,9 +206,9 @@ This is not straightforward since Ballerina tests are not executed by a single U If the library requires any additional configurations that are generated by the tracing agent, then review the configurations and filter the required ones. The filtered configurations should be packed with the module to make it GraalVM compatible. -1. If you have a `native` directory that holds the Java native code, then you can pack this configuration files in the `resources/META_INF/native-image///` directory. +1. If you have a `native` directory that holds the Java native code, then you can pack this configuration files in the `src/main/resources/META-INF/native-image///` directory. -2. If you do not have a `native` directory, then you should create one and add the configuration files in the `resources/META_INF/native-image///` directory, build and add the native jar to the library by specifying the dependency in the `Ballerina.toml`. +2. If you do not have a `native` directory, then you should create one and add the configuration files in the `src/main/resources/META-INF/native-image///` directory, build and add the native jar to the library by specifying the dependency in the `Ballerina.toml`. ### Mark the library as GraalVM compatible