Skip to content

Commit

Permalink
Merge pull request #126 from codacy/fix/native-image-build
Browse files Browse the repository at this point in the history
fix: Adds new flags to fix the native image build (fixes #125)
  • Loading branch information
bmbferreira authored Jul 24, 2019
2 parents 99ed322 + b394a62 commit 48bb619
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/publish-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ function build_cmd() {
FLAGS+=' --enable-url-protocols=http,https,file,jar --enable-all-security-services'
FLAGS+=' -H:+JNI -H:IncludeResourceBundles=com.sun.org.apache.xerces.internal.impl.msg.XMLMessages'
FLAGS+=' -H:+ReportExceptionStackTraces'
FLAGS+=' --no-fallback --initialize-at-build-time'
FLAGS+=' --report-unsupported-elements-at-runtime'
# FLAGS+=' -H:+ReportUnsupportedElementsAtRuntime'

if [ "${OS_TARGET}" != "darwin" ]
Expand Down

0 comments on commit 48bb619

Please sign in to comment.