Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Initial build of the OpenDaylight code

asked 2015-04-14 08:11:12 -0700

jlazzaro gravatar image

I've been reading a lot of wikis, guides, and docs...need some assistance. Initial install of OpenDaylight, and every guide I have read says to git clone the OpenDaylight controller and run 'mvn clean install' in the /controller/opendaylight/distribution/opendaylight/ folder.

However after the git clone, my /controller/opendaylight/ path does not contain the distribution folder.

[root@opendaylight /]# ls /controller/
features  itests  karaf  LICENSE  NOTICE  opendaylight  pom.xml  README.OPENDAYLIGHT
[root@opendaylight /]# ls /controller/opendaylight
adsal  archetypes  commons  config  md-sal  netconf

Do I need to run the 'mvn clean install' from the root /controller/ directory instead to build the distribution folder? If not, why is the distribution folder missing? Any feedback is appreciated.

edit retag flag offensive close merge delete


You should checkout the branch like helium. Example: git checkout release/helium-sr3 -b helium-sr3 I don't know why the master branch which doesn't those folder. It seems is not complete, I just gusses because I am also newbie on opendaylight

tomlv ( 2015-04-14 08:34:20 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-15 07:24:21 -0700

gyanesh gravatar image

The directory structure in master branch is changed. There is no distribution folder now. Run "mvn clean install" in "controller" folder as there is a pom.xml file available there. You can run ODL from "controller/karaf/opendaylight-karaf" folder.

edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2015-04-14 08:11:12 -0700

Seen: 203 times

Last updated: Apr 15 '15