Beckhoff / AdsToJava

This library is intended for use in ADS client applications written in the Java programming language.
MIT License
8 stars 2 forks source link

Any way to get Router for Linux? #2

Closed UserwithnoUsername closed 9 months ago

UserwithnoUsername commented 11 months ago

Hello, I have written a java Application with your Library. Is there any Way to put the Application on a Linux Server. Primarily the Problem is the Missing Router i think. Is there a Router planed for Java or do i have to write it on my own?

Regards Thomas

vossjannik commented 9 months ago

Hi Thomas,

unfortunately, this library does not currently have support for Linux systems. However, here are a few resources that you might be able to build upon:

Best Regards, Jannik Voss

vossjannik commented 8 months ago

Hi @UserwithnoUsername,

I added Linux support using the "adslib.so" from https://github.com/Beckhoff/ADS/tree/master instead of the "TcAdsDll.dll", which as I mentioned, is not available on Linux.

There are some limitations+differences but it should be fine for most use-cases. I would call it a Beta. Details: https://github.com/Beckhoff/AdsToJava/tree/linux?tab=readme-ov-file#status-of-the-linux-support

I would really appreciate feedback/contributions on this.

Best Regards, Jannik Voss

vossjannik commented 8 months ago

FYI, I merged it into the main branch and added a CI build action (Ubuntu). The binaries are published as a release artifact called "linux-x64.zip".