[YANGTOOLS-23] Uncompilable code generated when using augment-of-augment-with-uses Created: 26/Sep/13 Updated: 10/Apr/22 Resolved: 30/Sep/13 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 85 |
| Description |
|
Replacing the marked 'choice' in attached bgp-multiprotocol.yang with 'uses destination' leads to non-compilable code, because it attempts to import non-existing package. [ERROR] /home/nite/bgpcep/bgp/parser-api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/bgp/linkstate/rev130918/update/path/attributes/mp/unreach/nlri/withdrawn/routes/nlri/LinkstateBuilder.java:[5,150] package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130918.update.path.attributes.mp.unreach.nlri.withdrawn.routes does not exist |
| Comments |
| Comment by Robert Varga [ 26/Sep/13 ] |
|
Attachment bgp-linkstate.yang has been added with description: Augment-of-augment-uses |
| Comment by Robert Varga [ 26/Sep/13 ] |
|
Attachment bgp-multiprotocol.yang has been added with description: bgp-multiprotocol.yang |
| Comment by Robert Varga [ 26/Sep/13 ] |
|
Attachment bgp-message.yang has been added with description: bgp-message.yang |
| Comment by Martin Vitez [ 30/Sep/13 ] |
|
Fixed in yang-maven-plugin version 0.5.9-SNAPSHOT. |