From d68361ee9ecfc6388c852059de417cabd1d175bb Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Tue, 12 Jul 2022 13:15:26 +0200 Subject: [PATCH] Native image running on aarch64 --- sdk/output-argeo-tp-swt.target | 1 + .../META-INF/native-image/jni-config.json | 4 ++++ .../META-INF/native-image/resource-config.json | 10 ++++++++++ 3 files changed, 15 insertions(+) diff --git a/sdk/output-argeo-tp-swt.target b/sdk/output-argeo-tp-swt.target index 21b0f8860..d03ccad39 100644 --- a/sdk/output-argeo-tp-swt.target +++ b/sdk/output-argeo-tp-swt.target @@ -4,6 +4,7 @@ + \ No newline at end of file diff --git a/suite/org.argeo.slc.tool/META-INF/native-image/jni-config.json b/suite/org.argeo.slc.tool/META-INF/native-image/jni-config.json index a462807f1..5e3b05bf3 100644 --- a/suite/org.argeo.slc.tool/META-INF/native-image/jni-config.json +++ b/suite/org.argeo.slc.tool/META-INF/native-image/jni-config.json @@ -68,6 +68,10 @@ ], "methods":[{"name":"","parameterTypes":[] }] }, +{ + "name":"org.argeo.slc.tool.Main", + "methods":[{"name":"main","parameterTypes":["java.lang.String[]"] }] +}, { "name":"org.eclipse.swt.browser.WebKit", "methods":[ diff --git a/suite/org.argeo.slc.tool/META-INF/native-image/resource-config.json b/suite/org.argeo.slc.tool/META-INF/native-image/resource-config.json index f704b87a1..9b885b7bc 100644 --- a/suite/org.argeo.slc.tool/META-INF/native-image/resource-config.json +++ b/suite/org.argeo.slc.tool/META-INF/native-image/resource-config.json @@ -46,9 +46,18 @@ { "pattern":"\\Qorg/argeo/cms/acr/schemas/xml.xsd\\E" }, + { + "pattern":"\\Qorg/argeo/cms/internal/runtime/dc=example,dc=com.ldif\\E" + }, { "pattern":"\\Qorg/argeo/cms/internal/runtime/jaas.cfg\\E" }, + { + "pattern":"\\Qorg/argeo/cms/internal/runtime/ou=roles,ou=node.ldif\\E" + }, + { + "pattern":"\\Qorg/argeo/cms/internal/runtime/ou=tokens,ou=node.ldif\\E" + }, { "pattern":"\\Qorg/argeo/minidesktop/cheatsheet_obj@2x.png\\E" }, @@ -97,6 +106,7 @@ { "name":"org.apache.xerces.impl.xpath.regex.message", "locales":[ + "", "en", "und" ] -- 2.30.2