New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use @arg file for running native binaries #209
Comments
I'm not sure what this issue is about - argument file is only used for building native images. Native Maven Plugin uses argument files for building tests by default on Windows since #247, so we should be good. |
I agree that this should be good, I'm closing this, let's create a new issue if something arises. |
@melix I get a similar failure message like spring-attic/spring-native#1486.
|
Release 0.9.10 fixed the long classpath issue when building a native image, but it didn't fix the problem when running tests, or when running the native binary.
It is extremely likely that only the Maven plugin is affected https://github.com/graalvm/native-build-tools/blob/0.9.10/native-maven-plugin/src/main/java/org/graalvm/buildtools/maven/NativeTestMojo.java#L141-L147
because the
test
mojo builds the native image directly with tests.Gradle builds the native image separately so should be immune: https://github.com/melix/native-build-tools/blob/925d6ba73c7f0d6122dc0ba9b4ca8afe0d60ec18/native-gradle-plugin/src/main/java/org/graalvm/buildtools/gradle/tasks/NativeRunTask.java#L76-L79
Initially reported at spring-attic/spring-native#1486 (comment)
The text was updated successfully, but these errors were encountered: