Ended up in the hospital over the holidays (I’m fine now), sorry I wasn’t able to follow up sooner.
So, I checked out the controller repo from both GitHub and git.opendaylight.org <http://git.opendaylight.org/>, and your SHA for the commit (02888d8e212ec0a79270c1e5824e0a491d7d2660) listed in your change isn’t “there”. I assume some git rebase -i shenanigans are going on or something? Anyway, I noticed that there were other startup archetype jar’s on nexus. https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-startup-archetype/ <https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/opendaylight-startup-archetype/> They both have timestamps of December 31, so I assumed the patch would be in place by now? When I tried 1.5.0-SNAPSHOT, the code would not compile. The first error was due to check style was mad because the line length exceeded 120 chars. (ExampleCliTestCommand.java) @Command(name = "test-command", scope = "add the scope of the command, usually project name", description = “there was words here but I removed them so it would compile") Then on the second attempt, it was mad because the ordering of library imports broke another check style rule, in ExampleCliCommandsImpl.java import org.opendaylight.example.cli.api.ExampleCliCommands; It was “below” the slf4j imports, so I moved it above, and then it compiled. (phew). I fired up Karaf, and got nothing when for “log:display |grep Example” as I did before. …. Ok, let’s try 1.4.2-SNAPSHOT… It compiled first try, looks like some regressions were added along the way when 1.5.0 was put together? I’ll spare you the asciinema this time, and just show that the same result happens as before: opendaylight-user@root>log:display |grep Example opendaylight-user@root> No dice. I *really* want to get this example working, because I literally can’t get anything working with my southbound plugin that worked perfectly fine up until Nitrogen nuked me from orbit. please advise? > On Dec 18, 2017, at 2:11 PM, Tom Pantelis <tompante...@gmail.com> wrote: > > > > On Mon, Dec 18, 2017 at 2:03 PM, Ryan Dietrich <r...@betterservers.com > <mailto:r...@betterservers.com>> wrote: >> The archetype has issues - I pushed >> https://git.opendaylight.org/gerrit/#/c/66545/ >> <https://git.opendaylight.org/gerrit/#/c/66545/> to address the ones you >> encountered and others I found. coretutorials is an abortion - it was >> started with good intentions but not followed thru. >> >> AKAIK the toaster example in the controller project along with >> https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step >> >> <https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step> >> are up-to-date and not broken. > > How do I re-test the change you just pushed (I assume a version bump of some > sort?) > > That patch is on master - you can clone master and then cherry-pick that > patch. > > > -Ryan Dietrich >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev