Hello,

This change [0] that was merged last week may cause compilation problems for several of you.

The main problem is that the patch moved Yang files from the sfc-vpp-renderer directory to the sfc-model directory. The Yang files were also updated to a later version.

If you have built SFC with the previous Yang files, then do a git rebase, then try to build again, its possible you'll have build failures with files in this dir:

sfc-renderers/sfc-vpp-renderer/src/main/java/org/opendaylight/yang/gen/*.java


That directory is generated by maven based on the old Yang files that were moved. Since there are no longer Yang files in sfc-vpp-renderer, maven will not clean the above mentioned "gen" dir, but it will try to compile the java files therein, and it will fail. You can either remove the above mentioned "gen" dir or "git clean -dx".

A colleague of mine had a similar problem, but in the sfc-model directory. This was fixed by removing your local opendaylight maven repo: "rm -rf $HOME/.m2/repository/org/opendaylight".

Let me know if you still have build problems after doing the above.

Regards,

Brady

[0] https://git.opendaylight.org/gerrit/51070

_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to