-
Notifications
You must be signed in to change notification settings - Fork 2
How to build Elbfisch V3.1 sample applications using Maven
- Elbfisch V3.1 and its further components are available via Maven repository now.
You can learn here:
- how to download Elbfisch sample programs and get them easily to work using central Maven repository
HINT: A brief description of more elbfisch features you can find here
HINT: A brief lecture you can find here
Prerequisites:
- java version "1.8.0_101" or later installed on your development machine. Check by
>java -version-
Apache Maven 3.6.3 or later installed on your development machine. For installation of Maven check here
-
A Development IDE of your choice which has possibility to use Github and Maven Build Management Tool
Steps:
- There is just one third party dependency 'naturalcli' to be installed to your local maven repository as this can't be received fully automatically:
- Download naturalcli-1.2.3.jar from Sourceforge repository into a directory of your choice on your machine.
- Install it to your local maven repository:
mvn install:install-file -Dfile=path-to-downloaded-jar-file -DgroupId=naturalcli -DartifactId=naturalcli -Dversion="1.2.3" -Dpackaging=jarWe have uploaded several sample projects to github. So you can download them from there and the rest will be done automatically by Maven. We will show you the download annd build process as it is done with Eclipse IDE. (There are ore descriptions on how to get a github project with other IDE's on the net, ,too).
Here is a list of examples you can download from Github:
- A basic signal usage example project
- A sample project showing elbfisch usage on a raspberry pi
- A sample project showing elbfisch usage on a Revolution Pi
- An OPC-UA server example project
- An OPC-UA client example project
- A server example project using elbfisch's own communication protocol (ef)
- A client example project using elbfisch's own communication protocol (ef)
- A modbus client example project
- An ads client example project
The following steps to download the sample and build it, can be done with each listed sample, just change the github url.
- Go to Github (using one of the links above) and copy the Git repositories URL into clipboard.

-
- Open Eclipse IDE and go to File -> Import...
- Select Projekt from Git and click Next.

3.Select Clone URI and cxlick Next

- Now insert the copied URI of the Github repository and click Next. You do not need to enter any authentication data
- Now select the master branch and click Next.

6.Then enter the location where the project should be saved locally and click Next.

7.Set option Import as general project and click**Next**.

- Name the local Eclipse project and click Finish

9 After finishing the import right-click the project and select Configure -> Convert to Maven Project

Maven will now load all the necessary dependencies. This may take a little moment. After that you can build and execute the sample.
Here you are ! Elbfisch sammple is ready to swim with maven.
Follow "diverse tutorials" concerning Java FX, OPC UA, the Elbfisch console, the VIOSS (versatile IO sub system) used to interface Modbus/TCP, Siemens S7 12xx,15xx, Beckhoff ADS, OPC UA counterparts.