Delete previous output state on execution skip 09/104809/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 9 Mar 2023 15:47:57 +0000 (16:47 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 9 Mar 2023 16:37:17 +0000 (17:37 +0100)
commitb7f0b7d8963f24e34b5d5f98d5a21ea3b32510ab
treee5ab3461367990df7b60963a41554ee629b41902
parent4748576c3f594089e606ea6a1e431bd52b2a2ad3
Delete previous output state on execution skip

Address two FIXMEs related to wiping actual state: when there are no
input files or no code generators, we should be wiping all of our
previous state.

JIRA: YANGTOOLS-745
Change-Id: Iaf1a7d9d3f8993af75ace5b8092c5e3c2f6f2bde
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/BuildContextStateStorage.java
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/FileStateStorage.java
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/StateStorage.java
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesProcessor.java