How to generate zip file from Eclipse ThingWorx extension?
- October 25, 2017
- 3 replies
- 8749 views
Hello,
I am trying to set up the Eclipse environment to be able to create ThingWorx extensions. I already installed Eclipse Java EE IDE for Web Developers, version: Oxygen.1a Release (4.7.1a). I use ThingWorx 6.5.20. I followed the video tutorial available at this link: https://www.youtube.com/watch?v=34g9tBotbsY&feature=youtu.be as well as the PDF guide for eclipse extensions available in the attached files.
For my first test, I would like to be able to export a file from Eclipse and import it in ThingWorx Composer as an extension. I chose to take an existing extension project (RadioButton) and to export it without modifying it. Thus, I will be able to have a clean project for my first test. As far as I understood, the export must be in a ZIP format. However, I can't manage to create it.
Following the video tutorial, I created the extension project using the parameters shown in the "Import Project RadioButton MyEclipse.png" file attached, with Gradle build and the latest Eclipse SDK. In the video tutorial, they are then able, by right-clicking on the project folder, to "Run as -> Gradle (STS) Build", as shown in the "Gradle STS Build Tutorial.png" attached file. In my Eclipse project, however, I don't have this option, as shown in the "Gradle STS Build MyEclipse.png" attached file. I tried to install the Gradle Build Eclipse plugin, shown in the "Installed softwares MyEclipse.png" attached file, but it did not help.
Does anybody know how to be able to perform Gradle STS Build ? Or maybe is there another way to generate the ZIP file from the Eclipse extension project?
Thanks,
Antoine
Ce message a été modifié par : Antoine Rosse

