Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
5940
Description
Many of the available public Yang models for import, like "ietf-yang-types" and "ietf-inet-types" are in artifacts that default to type "Bundle". When YangIDE indexes the available imports using that artifact, it doesn't find any. If I just edit the properties of the dependency, changing the type from "bundle" to "jar", it will then find the available import files.
It's awkward to have users perform the additional step to make the import files available.
When YangIDE indexes artifacts, it checks for multiple different artifact types. When the artifact is of type "Bundle", it may not properly deal with it.
For instance, a dependency search for "ietf-inet-types" finds artifacts in groupId "org.opendaylight.mdsal.model" which are of type "bundle" and also "xml, p2artifacts", whatever that means. There are also older artifacts in groupId "org.opendaylight.yangtools.model" that are of type "jar".
If I select the old "jar" artifacts, the import files are found. If I select the newer "Bundle" artifact, it doesn't find the files. However, if I edit the dependency and change the type from "Bundle" to "jar", then it can find the import files.