Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Eclipse SmartHome source code compilation process

Shulou Source: shulou.com Published: 2022-06-03 07:00:53 10月01日 Update

Eclipse SmartHome is an open source solution for building smart homes, which is applied to gateways to solve the problem of intelligent devices from different suppliers and access to unified gateways, bringing convenience to end users. Many IOT cloud flat Taiwan businessmen are built on it, including the domestic Huawei IOT cloud architecture.

Building Eclipse SmartHome locally is a very painful process, especially through the official provision, through the Eclipse installer, install the Eclipse SmartHome environment solution, many times the installation failed, and the domestic wall also has to be related, but to github to download Eclipse SmartHome source code, local compilation. (https://github.com/eclipse/smarthome)

Install the instructions given on the github source code to install, execute the response command, found that org.eclipse.smarthome.ui.paper compilation failed, Google search, find the reason, should be jquery,jquery-ui can not find. Locate the file extensions\ ui\ org.eclipse.smarthome.ui.paper\ package.json and change the version number of jquery,jquery-ui

The downloaded source code is configured as follows:

"jquery-ui": "git+ https://github.com/jquery/jquery-ui.git#1.11.2","

I clearly know that jquery-ui,jquery is downloaded through search on github, and the address given by the source code cannot be found on github, so I specially found the release version number of jquery,jquery-ui on github. It is better to change it to jquery-ui to 1.11.2. I will directly change it 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 starts and finally 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]

Tags: Source code compilation version command scheme intelligence gateway search process different success pain supplier reason Taiwan businessman address foundation official console file Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Shulou Technology MySQL MariaDB