Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Use yangtools package provided ( how do give the yangtools project and pom file ? )
  • specify the input yang model folder at line 55 of pom.xml

    Example:

    Code Block
    languagexml
    <yangFilesRootDir>/Users/Andrea/yangBehavior/</yangFilesRootDir>


  • specify output folder at line 62 of pom.xml
    Example:

    Code Block
    languagexml
    <outputBaseDir> /Users/Andrea/yangBehavior </outputBaseDir>


  • open a shell to the translator project folder
  • execute 

    Code Block
    languageactionscript3
    $ mvn generate_-sources


  • generated java files are in <outputdir>/org/opendaylight/yang/gen/v1/<yang_specified_namespace>

...