Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Eclipse SmartHome source code compilation process

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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]

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report