[go: nahoru, domu]

Skip to content
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

Cascading errors on mvn missing #1234

Open
dcharkes opened this issue Jun 26, 2024 · 0 comments
Open

Cascading errors on mvn missing #1234

dcharkes opened this issue Jun 26, 2024 · 0 comments

Comments

@dcharkes
Copy link
Collaborator
$ dart --enable-experiment=native-assets run jnigen --config jnigen_config.yaml 
(jnigen) INFO: Building ApiSummarizer component. This might take some time. The build will be cached for subsequent runs.
(jnigen) INFO: execute mvn compile --batch-mode --update-snapshots -f /Users/dacoharkes/.pub-cache/hosted/pub.dev/jnigen-0.9.3/java/pom.xml

/bin/sh: mvn: command not found

maven exited with 127
Unhandled exception:
PathNotFoundException: Deletion failed, path = './.dart_tool/jnigen/target' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:55:9)
#1      _Directory._delete.<anonymous closure> (dart:io/directory_impl.dart:180:7)
<asynchronous suspension>
#2      buildApiSummarizer (package:jnigen/src/tools/build_summarizer.dart:51:5)
<asynchronous suspension>
#3      buildSummarizerIfNotExists (package:jnigen/src/tools/build_summarizer.dart:74:5)
<asynchronous suspension>
#4      generateJniBindings (package:jnigen/src/generate_bindings.dart:26:3)
<asynchronous suspension>
#5      main (file:///Users/dacoharkes/.pub-cache/hosted/pub.dev/jnigen-0.9.3/bin/jnigen.dart:18:3)
<asynchronous suspension>

We should probably not fail with deletion failed if mvn is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants