Hello. Yorozu Counselor Sugimon: yum :. This time, I will try to develop a component (adapter) using the SDK of HULFT IoT Edge Streaming. It is described so that it will be completed in all three parts.
This time, as the first step, I will try to prepare the environment as a setup for using the HULFT IoT Edge Streaming SDK. If you already have an environment, please skip it and refer to the articles in [Development] and [Execution] below.
: arrow_forward: I tried to create a plug-in with HULFT IoT Edge Streaming Setup : arrow_forward: [I tried to create a plug-in with HULFT IoT Edge Streaming Development](https://qiita.com/sugimon/items/67bdd6f610e03cdfcef2) : arrow_forward: [I tried to create a plug-in with HULFT IoT Edge Streaming Execution](https://qiita.com/sugimon/items/93f47d7bd472a8b18e54)
This time, I will describe the items that are required in advance when trying to create a plug-in.
Download and install each software.
software | The version installed this time |
---|---|
JDK | AdoptOpenJDK 11 (HotSpot) |
Build tool | Apache ant 1.10.After 0 |
Golang | Go 1.13 or later |
EdgeStreaming | HULFT IoT EdgeStreaming Ver.2.1.0 |
SDK | HULFT IoT EdgeStreaming-sdk Ver.2.1.0 |
By the way, the environment I tried is as follows. ・ JDK (jdk 11.0.6.10 HotSpot) ・ Build tool (Ant 1.10.7) ・ Golang (1.13.7) ・ HULFT IoT Edge Streaming and HULFT IoT Edge Streaming SDK (2.1.0)
Set the environment variables for each installed software.
-Set the JDK path. For JAVA_HOME, specify the path where the JDK is installed.
-Set the path of the build tool. For ANT_HOME, specify the path where ANT is installed.
-Set the Golang path. Specify the path where Golang is installed in GOROOT.
-Setting the PATH environment variable
Set the PATH environment variable to pass the command execution path.
%JAVA_HOME%\bin
%ANT_HOME%\bin
%GOROOT%\bin
(Setting Example)
From the command prompt, execute the command of each software and check the execution path.
java –version
ant –version
go version
(Execution result)
There is no problem if each version is displayed as shown in the image.
Edit the "$ SDK_HOME \ dev \ build.properties" file located at the destination where you unzipped the SDK.
Set the dataspider.home property to the directory path where HULFT IoT EdgeStreaming Ver.2.1.0
is installed.
######################################################################
# Build Configuration
#
#dataspider.home=<dataspider.server.installed.directory>
#encoding=<file.encoding>
#
######################################################################
dataspider.home=C:\\EdgeStreaming-v210
encoding=UTF-8
At this point, the environment for creating the plug-in is ready. From the next time onward, I would like to actually develop the plug-in.
This time, I tried to build the environment required before creating the plug-in. Once the required software setup and path are passed, the development environment is ready. I would like to implement it in the development section.
In this blog, I would like to continue to introduce the contents of consultations at the "Yorozu Consultation Counter" of technology and the tricks that were born.
Please continue to check it out and follow us if you like.
See you again!
Recommended Posts