[YANGTOOLS-42] Codegen plugin needs to detect classpath versioning problems Created: 11/Oct/13 Updated: 13/May/23 Resolved: 28/Apr/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| Description |
|
The plugin and artifact classpaths are independent, but if the artifact classpath pulls in a wrong version of yang-binding, the compilation will fail. The plugin should detect this, e.g. it needs to make sure that the artifact dependencies pull in the correct artifacts with correct versions before generating any code. If that is not the case, a very clear error message needs to be genenerated. |
| Comments |
| Comment by Robert Varga [ 21/Jan/14 ] |
|
This will need to be address post-hydrogen. |
| Comment by Martin Vitez [ 13/Mar/14 ] |
|
Proposed patch: |