From 3321398463e862df52a756e8bb4ff7f11ebae82e Mon Sep 17 00:00:00 2001 From: Neil Wilson Date: Fri, 26 Aug 2022 16:49:51 -0500 Subject: [PATCH] Include resource-config.json in the jar manifest Updated the LDAP SDK build process so that it includes the resource-config.json file in the jar file manifest (in a native-image subdirectory) rather than providing the file outside of the jar but in the LDAP SDK zip file. Including the file in the manifest eliminates the need to explicitly reference it on the command line using the GraalVM native-image tool. --- build.xml | 9 ++++----- docs/release-notes.html | 13 ++++++------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/build.xml b/build.xml index bd5cf13ca..490d118d7 100644 --- a/build.xml +++ b/build.xml @@ -70,7 +70,8 @@ resource-config.json file --> - + + @@ -264,7 +265,7 @@ - + - @@ -366,8 +366,6 @@ - - + Version 6.0.6
  • - Updated the LDAP SDK to include a graalvm-native-image-resource-config.json file - as part of the LDAP SDK package. Wnen using the GraalVM native-image tool to - generate a self-contained executable version of a Java program that uses the - LDAP SDK, this file can be used to ensure that all of the appropriate resource - files (including message property files, the schema used by the in-memory - directory server, and the OID registry used by the oid-lookup tool) are - included as part of the generated image. + Updated the LDAP SDK to include a native-image/resource-config.json file in the + jar file manifest. Wnen using the GraalVM native-image tool to generate a + self-contained executable version of a Java program that uses the LDAP SDK, this + file helps ensure that all of the appropriate resource files (including message + property files, a default standard schema, and a registry file used by the + oid-lookup tool) are included as part of the generated image.