Versions Compared

Key

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

...

This archetype has laid the base application code down, in a directory named meowster-sample. Next we will fold in UI components from an overlay archetype...

...

Note, the only difference between this command and the last is changing the "app" keyword to "ui"...

Code Block
$ onos-create-app ui org.meowster.app.sample meowster-sample

...

(3) Modify the pom.xml file to mark the module as an ONOS appcorrectly label our ONOS application:

Code Block
$ cd meowster-custom
$ vi pom.xml

...

Code Block
<description>Meowster Sample ONOS App</description>

(3b) In the <properties> section (just below the description), change the app name and origin:

...

Start by selecting File --> New --> Project from Existing Sources...

Image RemovedImage Added

Then navigate to the top level pom.xml file and press OK:

Image RemovedImage Added

On the next screen, you might wish to checkmark the following two items:

...

...since they are not selected by default.

Image RemovedImage Added

IntelliJ should find the 1.0-SNAPSHOT:

Image RemovedImage Added

If presented with a choice of Java versions, select 1.8:

Image RemovedImage Added

Finally, finish with the name of the project:

Image RemovedImage Added

Once the project loads, you should finally see a directory structure like this:

Image RemovedImage Added

Building and Installing the App

...