Closed maggu2810 closed 5 years ago
I'd claim that you are using outdated code. Make sure to executed the steps mentioned in https://github.com/openhab/openhab-core/pull/536#issuecomment-461175368.
I didn't know this repository and so never used it. I copied and pasted the commands you have written and this has been the result. It has been my first checkout of the repo.
That's what my command line history tells me that I have done:
cd ~/bin/pkgs/eclipse/openhab-core/git/
git clone https://github.com/openhab/openhab-bundles
cd openhab-bundles/
ls
git submodule update --init --recursive
ls
mvn -Dmaven.repo.local=/home/rathgeb/.m2/repo.openhab-bundles clean install
FYI there's also the reference IDs in the command output:
$ rm -rf openhab-bundles/
$ git clone https://github.com/openhab/openhab-bundles
Cloning into 'openhab-bundles'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 78 (delta 2), reused 6 (delta 2), pack-reused 72
Unpacking objects: 100% (78/78), done.
~/bin/pkgs/eclipse/openhab-core/git $ cd openhab-bundles/
~/bin/pkgs/eclipse/openhab-core/git/openhab-bundles $ git submodule update --init --recursive
Submodule 'bindings/org.openhab.binding.zigbee' (https://github.com/openhab/org.openhab.binding.zigbee) registered for path 'bindings/org.openhab.binding.zigbee'
Submodule 'org.openhab.binding.zwave' (https://github.com/openhab/org.openhab.binding.zwave) registered for path 'bindings/org.openhab.binding.zwave'
Submodule 'openhab-core' (https://github.com/openhab/openhab-core) registered for path 'openhab-core'
Submodule 'openhab2-addons' (https://github.com/openhab/openhab2-addons) registered for path 'openhab2-addons'
Submodule 'org.openhab.ui.habmin' (https://github.com/openhab/org.openhab.ui.habmin) registered for path 'uis/org.openhab.ui.habmin'
Submodule 'uis/org.openhab.ui.habot' (https://github.com/openhab/org.openhab.ui.habot) registered for path 'uis/org.openhab.ui.habot'
Submodule 'uis/org.openhab.ui.habpanel' (https://github.com/openhab/org.openhab.ui.habpanel) registered for path 'uis/org.openhab.ui.habpanel'
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/bindings/org.openhab.binding.zigbee'...
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/openhab-core'...
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/bindings/org.openhab.binding.zwave'...
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/uis/org.openhab.ui.habot'...
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/uis/org.openhab.ui.habpanel'...
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/uis/org.openhab.ui.habmin'...
Cloning into '/home/rathgeb/bin/pkgs/eclipse/openhab-core/git/openhab-bundles/openhab2-addons'...
Submodule path 'bindings/org.openhab.binding.zigbee': checked out '0e78183d73ba1ac9be57cf6c9a1b5d2d0826d8aa'
Submodule path 'bindings/org.openhab.binding.zwave': checked out 'afdc0fcd63b9d2213a1a79f33f1fb9751aa3a883'
Submodule path 'openhab-core': checked out '62324222f068504e58c2526a96bb64b9c8c4e17b'
Submodule path 'openhab2-addons': checked out '952d72861f45072c64c18a9d9b60decb3091f193'
Submodule path 'uis/org.openhab.ui.habmin': checked out '29b24d6e07db3a02687ff84975371c01a0acfdc4'
Submodule path 'uis/org.openhab.ui.habot': checked out 'f4a71cd5f4273277097620e314fbfe8a05490dc0'
Submodule path 'uis/org.openhab.ui.habpanel': checked out '2e515bbdb1fc545a745d8eb5b9b1ea297b06889e'
I don't care as I do not use this repo, but perhaps you are interested in. If not, feel free to close.
The git submodule update command actually tells Git that you want your submodules to each check out the commit already specified in the index of the superproject. If you want to update your submodules to the latest commit available from their remote, you will need to do this directly in the submodules.
This command needs to be added:
git submodule foreach git pull origin master
or this one:
git pull --recurse-submodules
This command needs to be added:
If you look closely, this is part of https://github.com/openhab/openhab-core/pull/536#issuecomment-461175368.
... sorry
All fine :-)
The build (using a clean local Maven repository) fails because of a mixture of different Tycho plugins.