cancel
Showing results for 
Search instead for 
Did you mean: 

How to use SAP ECTR OSGi

former_member817023
Discoverer
598

Dear all,

I wanted to use the SAP ECTR OSGi for adding new tabs to the Object Browser but I'm not really sure how to do this. I checked the wiki

https://wiki.scn.sap.com/wiki/display/PLM/How+to+implement+a+custom+tab+in+the+Object+Browser

and also checked the plm-api-javadoc.zip under <InstallDIR>basis\toolkit but it is still unclear for me how exactly to implement OSGi.

Does anybody has experiences with SAP ECTR OSGi and can help out?

Thanks!

Regards
Atith

Accepted Solutions (1)

Accepted Solutions (1)

Hello Atith,

there are lot of OSGi examples for ECTR on github:

https://github.com/dogoodthings/

for Object Browser tab please take a look at

https://github.com/dogoodthings/OSGiExamples-OBTab-Part5

With kind regards,

Waldemar

Answers (1)

Answers (1)

former_member817023
Discoverer
0 Kudos

Hi Waldemar,

thanks, that helped!

One more question if it's ok for you…

How to debug this maven OSGi application? I checked some Stack overflow postings, but didn't had success so far. Do you have experience with that?

0 Kudos

Hi Atith,

unfortunately, there is no simple answer because it depends on many things.

Generally speaking, you have to run the whole ECTR application in a debug java session, using java remote debug capabilities. The setup is different in every java IDE so you will have to figure it out how to do it in your IDE.

For me i decided to just use "excessive" logging using PlmLogger instead of debugging.