Re: SPI Module - OSGi Bundle

2020-03-31 Thread Niclas Hedhman
It happens that OSGi classloading result in the wrong NCDFE and that one of the classes "used" (i.e. return type, parameter, throws, extends, implements) in the reported class is not visible by the classloader. And occasionally, it is a "diamond problem", i.e. that the Constraints (IIRC, see

Re: [DISCUSS] Time and Topic for PLC4X Webinar

2020-03-31 Thread Cesar Garcia
Hi there, Here we are at GMT-4 (Venezuela). I think they already discussed it in another email, but to make a note: 1. Generation of drivers with mspec (a tutorial). 2. How to integrate metrics to the driver? 3. Best practices. Very grateful for your effort, Best regards El mar., 31 mar.

Re: [IDEA] More PLC4X videos / webinars

2020-03-31 Thread Cesar Garcia
1+ El mar., 31 mar. 2020 a las 7:15, Otto Fowler () escribió: > A series on how to write a driver period would be great, given all the new > stuff with the protocol generation etc you guys have done. > > > > > On March 31, 2020 at 06:29:36, Lukas Ott (ott.lukas...@gmail.com) wrote: > > +1 for

[DISCUSS] Time and Topic for PLC4X Webinar

2020-03-31 Thread Julian Feinauer
Hi folks, as so many people want an English webinar we will do one! What are your timezones and topics that interest you? Then we can adjust it. The webinar will be held by multiple people, I think. So next to myself, I hope that Chris joins me as presenter : ) Best Julian

Re: [GERMAN] PLC4X Webinar

2020-03-31 Thread Cesar Garcia
Hi, English +1, Very grateful for the information, Best regards, El mar., 31 mar. 2020 a las 6:20, Julian Feinauer (< j.feina...@pragmaticminds.de>) escribió: > Hi folks, > > just as notice. > Tomorrow we will host an (introductionary) Webinar on PLC4X with a > complete end-to-end example on

Re: [VOTE] Apache PLC4X Build-Tools Code-Generation 1.2.0

2020-03-31 Thread Niklas Merz
I vote +1 (non-binding) Niklas [OK] Download all staged artifacts under the url specified in the release vote email [OK] Verify the signature is correct [OK] Check if the check is successful. [OK] Check if the signature references an Apache email address. [OK] Verify the SHA512 hashes. [OK]

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Christofer Dutz
Hi all, But If I search for uses of that class, it's only in the org.apache.plc4x.java.spi.connection.NettyChannelFactory which is in the SPI module. So I am not sure where this is accessed directly from the outside. I know every driver would use the NettyChannelFactory, but that shouldn't be

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Etienne Robinet
Hi Julian, that actually did the trick. But now I am getting the next error. https://i.imgur.com/U7NjmsF.png As you can see, the class it cant find is inside the container, so that is even more weird. Etienne On 2020/03/31 14:09:11, Julian Feinauer wrote: > Hi, > > this is not so optimal. >

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Julian Feinauer
Hi, this is not so optimal. Then one solution would be to embed the SPI bundle inside the transport bundle(s). This can be done with the felix-maven plugin by using the configuration if I remember correctly. Julian Am 31.03.20, 16:07 schrieb "Etienne Robinet" <43...@etu.he2b.be>: Hi,

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Etienne Robinet
Hi, From the log the class is called outside the SPI by the transport Etienne > Le 31 mars 2020 à 15:24, Julian Feinauer a > écrit : > > Hi, > > yes, if ist only needed internally its fine.But why does someone then get a > Class Not Found Exception? > This is usually a hint to some class

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Julian Feinauer
Hi, yes, if ist only needed internally its fine.But why does someone then get a Class Not Found Exception? This is usually a hint to some class loader issue in OSGi which is related to exports/ imports. J Am 31.03.20, 15:23 schrieb "Christofer Dutz" : As this package is only referenced

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Christofer Dutz
As this package is only referenced from within SPI, couldn't we just exclude it from the package exports? Chris Am 31.03.20, 15:17 schrieb "Julian Feinauer" : Hi, the issue is that if we export it, then we break Nettys OSGi integration as we get a split package situation (two

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Julian Feinauer
Hi, the issue is that if we export it, then we break Nettys OSGi integration as we get a split package situation (two bundles exporting the same package, which is forbidden in OSGi). So I see no easy solution (but had to do the same once as Netty is pretty... private). J Am 31.03.20, 15:15

Re: SPI Module - OSGi Bundle

2020-03-31 Thread Christofer Dutz
Hi all, I just discussed this issue with Etienne and I thought it was important for all, so I asked him to bring it here. In my effort to get the EmbeddedChannel working as a full "transport" module, I had to override the Netty Bootstrap mechanism. Unfortunately in order to do so, I need to

SPI Module - OSGi Bundle

2020-03-31 Thread Etienne Robinet
Hi all, I've been working on the Camel Component and decided to test it inside Karaf, but I noticed that I've got this error now: https://i.imgur.com/kUZPwZ5.png Seems like this class is not exported by the bundle so it can not be found. Anyone has an idea on how we could solve this? Etienne

Re: [IDEA] More PLC4X videos / webinars

2020-03-31 Thread Christofer Dutz
Hi, Well the C++ drivers will be one thing that will probably take me 6 months ... I doubt we should film that ;) But I agree ... getting documentation and perhaps even a workshop on porting to other languages might be a good thing. However I'll only be in for a teaser workshop 1-2 hours.

Re: [GERMAN] PLC4X Webinar

2020-03-31 Thread Justin Mclean
Hi, > rather English Webinar (perhaps we have tot hink about timezones). > English subtitle on live video will be tough... don’t know if anybody here > can type that fast : D Well I’ve given talks that have been simultaneous;ly translated into another language live so it is possible. Thanks,

Re: [GERMAN] PLC4X Webinar

2020-03-31 Thread Xiangdong Huang
Hi Julian, Typing manually is impossible... Some platforms can generate subtitles automatically, like Youtube, or the App (I forget the name) that used in ACEU19. Best, --- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Julian Feinauer

Re: [GERMAN] PLC4X Webinar

2020-03-31 Thread Julian Feinauer
Hi Xiangdong, rather English Webinar (perhaps we have tot hink about timezones). English subtitle on live video will be tough... don’t know if anybody here can type that fast : D J Am 31.03.20, 13:47 schrieb "Xiangdong Huang" : Hi Julian, English +1. Or, if there is English

Re: [GERMAN] PLC4X Webinar

2020-03-31 Thread Xiangdong Huang
Hi Julian, English +1. Or, if there is English subtitle on live... Best, --- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 mehedi hasan 于2020年3月31日周二 下午6:27写道: > Hi Julian, > Thanks for the email. > > It would be really nice to have

Re: [IDEA] More PLC4X videos / webinars

2020-03-31 Thread Otto Fowler
A series on how to write a driver period would be great, given all the new stuff with the protocol generation etc you guys have done. On March 31, 2020 at 06:29:36, Lukas Ott (ott.lukas...@gmail.com) wrote: +1 for that ;) leverage remote web meetings and record these development session is a

Re: [IDEA] More PLC4X videos / webinars

2020-03-31 Thread Lukas Ott
+1 for that ;) leverage remote web meetings and record these development session is a good idea. Am Di., 31. März 2020 um 12:25 Uhr schrieb Julian Feinauer < j.feina...@pragmaticminds.de>: > Hi, > > as we now bought a webinar subscription (and Chris also has a Video > Meeting Tool) I thought

Re: [GERMAN] PLC4X Webinar

2020-03-31 Thread mehedi hasan
Hi Julian, Thanks for the email. It would be really nice to have it in English, would help me to learn about it. Thanks in advance. Best Regards Mehedi On Tue, Mar 31, 2020 at 12:20 PM Julian Feinauer < j.feina...@pragmaticminds.de> wrote: > Hi folks, > > just as notice. > Tomorrow we will

[IDEA] More PLC4X videos / webinars

2020-03-31 Thread Julian Feinauer
Hi, as we now bought a webinar subscription (and Chris also has a Video Meeting Tool) I thought about doing more videos. After these sessions we could keep and upload the videos. One idea that struck me was: If Chris starts with C++ integration we could just show how to integrate other

[GERMAN] PLC4X Webinar

2020-03-31 Thread Julian Feinauer
Hi folks, just as notice. Tomorrow we will host an (introductionary) Webinar on PLC4X with a complete end-to-end example on connecting to Siemens S7. The Webinar is in german, but I, nonetheless wanted to share it here for interested People. If you are interested, see the full announce below: