Skip to main content
12-Amethyst
April 1, 2019
Solved

Write extension with Java SDK and test it from Eclipse (instead of import it in Composer)

  • April 1, 2019
  • 1 reply
  • 1284 views

Hi guys,

 

I was looking for a way to test my Service (written in  Java) with the Thingworx platform installed on an other machine on the same local network.
Since the "Import&Test" way is a bit cumbersome.. is there an available plugin for eclipse for this purpose?

 

 

Thanks!!

Best answer by MarekP.Nowaczyk

ThingWorx extensions development process is documented in ThingWorx Extension Development Guide found at https://www.ptc.com/support/-/media/FFF75A096E3245C8BA1E42E1C47C04CD.pdf?sc_lang=en

 

The only way to test an extensions is by importing it into ThingWorx. You can still configure your Eclipse's JPDA debugger client to connect to JPDA debugger server in your Tomcat JVM.

Note that if you are building your extension using Java, each time you deploy a new version you will need to restart Tomcat. 

1 reply

15-Moonstone
April 3, 2019

ThingWorx extensions development process is documented in ThingWorx Extension Development Guide found at https://www.ptc.com/support/-/media/FFF75A096E3245C8BA1E42E1C47C04CD.pdf?sc_lang=en

 

The only way to test an extensions is by importing it into ThingWorx. You can still configure your Eclipse's JPDA debugger client to connect to JPDA debugger server in your Tomcat JVM.

Note that if you are building your extension using Java, each time you deploy a new version you will need to restart Tomcat.