Eclipse Smarthome is an open-source, smart home-building solution for gateways that address the problems of different vendors ' smart devices and access to the unified gateway, bringing convenience to end users. Many of the IoT Shuyun Taiwanese businessmen are built on it, including the Huawei IoT cloud architecture in the country.
Building Eclipse Smarthome on-premises is a very painful process, especially through the Eclipse installer, installing the Eclipse smarthome Environment solution, multiple installations fail, and a relationship with the domestic wall, Helpless to GitHub download Eclipse smarthome source code, local compilation. (Https://github.com/eclipse/smarthome)
Install GitHub source on the instructions to install, execute Response command, found Org.eclipse.smarthome.ui.paper compilation failed, Google search, find the reason, should be jquery,jquery-ui can't find. Locate the Extensions\ui\org.eclipse.smarthome.ui.paper\package.json file, modify the version number of the Jquery,jquery-ui,
Download the source code, JQUERY-UI configuration as follows:
"Jquery-ui": "git+https://github.com/jquery/jquery-ui.git#1.11.2",
Know jquery-ui,jquery are all through github search download, source address, on GitHub is not found, so I deliberately on GitHub to find out Jquery,jquery-ui release version number, According to reason should change to Jquery-ui to 1.11.2 better, I directly changed to the latest version number, as follows:
"jquery": "3.2.1",
"Jquery-ui": "1.12.1",
After re-executing the mvn-dskiptests=true clean install command on the console, the compilation begins and finally the compilation succeeds.
[INFO] Eclipse smarthome Core Feature ........ ....... SUCCESS [0.048 S]
[INFO] Eclipse smarthome Extensions Feature ...... ..... SUCCESS [0.034 S]
[INFO] Eclipse smarthome Karaf Feature verification .... SUCCESS [01:20 min]
[INFO] Eclipse smarthome products ......... .......... SUCCESS [0.018 S]
[INFO] Eclipse smarthome p2 Repository ......... ..... SUCCESS [16.105 S]
[INFO] Eclipse smarthome Tools ......... ............ SUCCESS [0.011 S]
[INFO] Eclipse smarthome archetypes ......... ........ SUCCESS [4.252 S]
[INFO] Eclipse smarthome Binding archetype ....... ..... SUCCESS [1.941 S]
[INFO] Eclipse smarthome Binding archetype Testsuite ... SUCCESS [0.071 S]
[INFO] Eclipse smarthome Target Platform ........ ..... SUCCESS [0.800 S]
[INFO] Eclipse smarthome distribution ........ ....... SUCCESS [1.362 S]
[INFO]------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]------------------------------------------------------------------------
[INFO] Total time:43:39 min
[INFO] Finished at:2017-09-16t18:06:13+08:00
[INFO] Final memory:511m/1656m
[INFO]------------------------------------------------------------
This article is from the "11503181" blog, please be sure to keep this source http://11513181.blog.51cto.com/11503181/1965900
Eclipse smarthome Source Compilation process