[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[milo-dev] basic configuration to be start working
|
Hi,
A)
me is setting up a maven project for the first time.
I used
https://www.javaguides.net/2018/11/how-to-create-simple-maven-project-in.html .
ð
Successful
B)
Me is trying to make first steps with
https://dentrassi.de/2017/09/14/creating-opc-ua-solutions-eclipse-milo/ .
ð
Unable to do very first step „Making contact“
He says:
===== =====
EndpointDescription[] endpoints = UaTcpStackClient.getEndpoints("opc.tcp://localhost:4840").get();
===== =====
But he didn’t create a object called „UaTcpStackClient“.
I tried to create a „UaStackClient“ object, but it seems to have no .getEndpoints – method.
ð
Need javadoc and sourceCode

C) I have no javadoc and no sourcecode in IDE Eclipse. How to get javadoc and sourcecode and how to put it in eclipse?
I did:
-
New Eclipse Workspace
-
Remove „JRE“ in Window -> Preferences -> Installed JREs and enable „JDK“
-
Setting up maven project as tutorial in A)
-
Adding dependency for milo, as seen in pom.xml attachment.
-
Creating „ClientMain.java“ with main-method in „src/main/java“ and beginning with B).
ð
Have no javadoc and sourcecode available
Thanks
Michael
SEEBURGER AG |
|
Vorstand/SEEBURGER Executive Board: |
Sitz der Gesellschaft/Registered Office: |
|
Axel Haas, Michael Kleeberg, Axel Otto, Dr. Martin Kuntz, Matthias Feßenbecker |
Edisonstr. 1 |
|
|
D-75015 Bretten |
|
Vorsitzende des Aufsichtsrats/Chairperson of the SEEBURGER Supervisory Board: |
Tel.: 07252 / 96 - 0 |
|
Prof. Dr. Simone Zeuchner |
Fax: 07252 / 96 - 2222 |
|
|
Internet: http://www.seeburger.de |
|
Registergericht/Commercial Register: |
e-mail: info@xxxxxxxxxxxx |
|
HRB 240708 Mannheim |
Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder
Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der SEEBURGER AG dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift
oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder die SEEBURGER AG noch der Absender (Gattinger. Michael) übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhänge auf Viren zu prüfen.
This email is intended only for the recipient(s) to whom it is addressed. This email may contain confidential material that may be protected by professional secrecy. Any fact or opinion contained,
or _expression_ of the material herein, does not necessarily reflect that of SEEBURGER AG. If you are not the addressee or if you have received this email in error, any use, publication or distribution including forwarding, copying or printing is strictly prohibited.
Neither SEEBURGER AG, nor the sender (Gattinger. Michael) accept liability for viruses; it is your responsibility to check this email and its attachments for viruses.
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.javaguides.maven-milo-as-dependency</groupId>
<artifactId>maven-milo-as-dependency</artifactId>
<version>0.0.1-SNAPSHOT</version>
<description>milo as dependency</description>
<dependencies>
<dependency>
<groupId>org.eclipse.milo</groupId>
<artifactId>sdk-client</artifactId>
<version>0.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>