Versions Compared

Key

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

...

Let's now generate an ONOS project which will be fully compilable and ready to be deployed. Although, you will still have to code up your application, we haven't yet figured out how to generate code that does exactly what you would like it to do (wink). So let's start by running the following:

Code Block
languagetext
$ mvn archetype:generate -DarchetypeGroupId=org.fooonosproject -DarchetypeArtifactId=onos-bundle-archetype -DarchetypeVersion=1.2.0-SNAPSHOT -DgroupId=org.foo.app -DartifactId=foo-app -Dversion=1.0.0

Alternatively, if you have the ONOS code checked-out and available, you can use the onos-create-app tool to accomplish the same thing.

...