question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AVDL imports don't handle transitive deps / wrong file order

See original GitHub issue

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 "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:open
  • Created 7 years ago
  • Reactions:1
  • Comments:18 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
jon-morra-zefrcommented, Feb 7, 2017

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.

0reactions
julianpeeterscommented, Feb 14, 2017

Reopening to track remaining detail: Avdl filesorter should handle idls that import avscs (etc.) as well as avdls

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found