Closed tenaf0 closed 10 months ago
/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel,native-image)
Hi @tenaf0 , indeed this is currently not supported.
You can find a feature request regarding adding this feature here. You can subscribe to it to get updates on any progress on that. PRs are also welcome :)
I am closing this issue in favor of https://github.com/quarkusio/quarkus/issues/36192
Hi @zakkak , thanks, I apologize for not looking hard enough to find that issue!
Describe the bug
I have created a base quarkus project (with
quarkus create
), and added aquarkus.native.additional-build-args
option specifying--bundle-create=someName.nib
(both with and without an additional,dry-build
"flag"). Issuing./mvnw package -Dnative
results in an exception being thrown, even though the build/creation of nib file seems to have been successful -- I get the following files intarget
:So I believe the only problem is that quarkus's build expects a binary at a given location, while this graal native image argument uses a different location instead.
Expected behavior
A build that returns without exception.
Actual behavior
I get the following exception:
How to Reproduce?
quarkus create
<quarkus.native.additional-build-args>--bundle-create=quarkus.nib</quarkus.native.additional-build-args>
topom.xml
(also, possibly with=quarkus.nib,dry-build
)./mvnw package -Dnative
Output of
uname -a
orver
Linux fedora 6.5.11-300
Output of
java -version
21 GraalVM
Mandrel or GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.6.5
Build tool (ie. output of
mvnw --version
orgradlew --version
)3.9.6
Additional information
No response