On Fri, Dec 15, 2017 at 5:27 PM, Ryan Dietrich <r...@betterservers.com> wrote:
> I made a screencast showing exactly what I am doing. Please advise? > > https://asciinema.org/a/R5Oo9BYsPuQMBYfpjGI29D1fM > > I have never seen “ExampleProvider Session Initiated”, no matter what I > do. It feels like the most basic “hello world” program doesn’t even work > with Nitrogen anymore :( > > There's a couple reasons you don't see that message. First, none of the example features are specified in the featuresBoot property in etc/org.apache.karaf.features.cfg so none of the generated example features are installed on startup - that's b/c this line is commented out in karaf/pom.xml: <properties> <!-- TODO <karaf.localFeature>odl-example-rest</karaf.localFeature> --> </properties> That's not really an issue other than it no longer matches the wiki content. When you list the features, notice there's only odl-example-api - the odl-example feature which includes the example-impl bundle, which of course has the ExampleProvider class, is missing (and also the odl-example-cli and odl-example-rest features). This is b/c the features-example feature repo only includes odl-example-api - the features/features-example/pom.xml should list odl-example-rest, which pulls in all the example features, instead of odl-example-api as a dependency. Unfortunately, this was overlooked when the archetype was migrated to karaf 4.
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev