AVDL imports don't handle transitive deps / wrong file order
See original GitHub issueI’ve encountered a problem with transitive AVDL imports that don’t work because of the file order.
This works:
A.avdl
B.avdl -> import idl "A.avdl";
C.avdl -> import idl "B.avdl";
This doesn’t:
A.avdl -> import idl "B.avdl";
B.avdl -> import idl "C.avdl";
C.avdl
Error message is NoSuchElementException: key not found
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:18 (14 by maintainers)
Top Results From Across the Web
avrohugger - Bountysource
I've encountered a problem with transitive AVDL imports that don't work because of the file order. This works: A.avdl B.avdl -> import idl...
Read more >Intellij can't resolve transitive dependencies - Stack Overflow
once intellij opens, open the project by selecting project level POM ( this would re-import all dependencies in local again - one we...
Read more >Introduction to the Dependency Mechanism - Apache Maven
Since they are replaced, dependencies with a scope of import do not actually participate in limiting the transitivity of a dependency.
Read more >Dependency Management — Dataverse.org
Transitive dependencies : things others use for things you use, pulled in recursively. ... Project Object Model (POM): the basic XML file unit...
Read more >Managing Transitive Dependencies - API Manual
Managing versions of transitive dependencies with dependency constraints ... gradle -q compileJava * What went wrong: Could not resolve all files for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the files are in different order on OSX vs Linux. I’m on AWS and I couldn’t fully deduce how the files are ordered, but it’s definitely not alphabetical. I dug deep into this and the file order is a direct results of File.listFiles(). A stop gap measure that at least orders alphabetically would be an improvement for now as least the ordering would be platform independent.
Reopening to track remaining detail: Avdl filesorter should handle idls that import avscs (etc.) as well as avdls