Fix of $YangModuleInfoImpl for ext. yang models
authorLukas Sedlak <lsedlak@cisco.com>
Mon, 17 Feb 2014 11:38:53 +0000 (03:38 -0800)
committerLukas Sedlak <lsedlak@cisco.com>
Mon, 17 Feb 2014 11:38:53 +0000 (03:38 -0800)
commit45bb1442df2e0d1a762cbb44e95580caf89e3b11
treedb3653ff85937e37e160343d6cc0fcd2bf5bdeaa
parent8a1962ff8130075a4287e664c2d9155fecb6e470
Fix of $YangModuleInfoImpl for ext. yang models

Fixed bug in writeJavaSource method in CodeGeneratorImpl. If package does not exist the dir structure is created.
Without this fix yang models containing only extension definitions could not be generated.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
code-generator/maven-sal-api-gen-plugin/src/main/java/org/opendaylight/yangtools/maven/sal/api/gen/plugin/CodeGeneratorImpl.java