Open tsoihim opened 1 year ago
Please, can you clarify, if you are referring to JncPyangPlugin
for gradle
or to something else?
The JncPyangTask
takes inputFiles
, which is a list. You can resolve the (using wildcards) list in your build.gradle
.
E.g. with https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileTree.html.
Sorry, now I see you meant pyang
plugin, not gradle
plugin (even though using gradle
plugin can solve your issue with wildcards).
Hi, I'm trying to convert multiple yang files to java classes using pyang_jnc. The yang files include many "include" and "augment" statements.
I checked that pyang_jnc works perfectly on a single yang file as below.
However, I faced the error below when I tried to convert multiple yang files at once.
I found that "multiple_modules" is set to False in JNCPlugin class, so i wonder if pyang_jnc doesn't support converting multiple yang files at once.
Please let me know if there is a way to convert multiple yang files at once.