Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello all,
I have installed Thingworx Eclipse plugin and Buildship Gradle Integration in my eclipse. I'm not able to find a way to build Thingworx Extension using Buildship. Could any one help me to fix this one ?
Thanks in advance,
VR
Solved! Go to Solution.
@Velkumar I do it with these easy steps (without any eclipse extensions ) require some know how around some commands around how to build but pretty simple
1. Just grab one of the gradle zip from here : https://gradle.org/install/
2. Put the C:\Gradle\gradle-5.4.1\bin (adjust the location for bin folder as per your gradle zip downloaded in above step) in the Path for Environment variable
3. Open a new command prompt / powershell (assuming you on windows) and try
gradle -version
, to get confirmation path added in step 2 is referenced correctly
If all works fine you will see something like this :
------------------------------------------------------------
Gradle 5.4.1
------------------------------------------------------------
Build time: 2019-04-26 08:14:42 UTC
Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d
Kotlin: 1.3.21
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_212 (Oracle Corporation 25.212-b10)
OS: Windows 10 10.0 amd64
4. Now simply navigate to the project where you have your build.gradle file and if you need to generate the wrapper do in command line CMD / Powershell :
gradle wrapper
5. If you are not using wrapper, then simply use following to test out the clean and build tasks, of course you can call other tasks that you have defined in the build.gradle
gradle clean build
This should generate the build folder with distribution and zip of your project
Hi,
Download and install Thingworx extension SDK from Marketplace.
Regards,
Janakiraman P
Hi @vangne & @Janakiraman-P
Thanks for your solution.
I'm already working on developing Thingworx Extesnion using eclipse plugin & Gradle STS. Since Gradle STS will depreciated in future, I'm trying to build extension using Buildship Gradle Integration which is an alternate for Gradle STS.
BR,
VR
@Velkumar I do it with these easy steps (without any eclipse extensions ) require some know how around some commands around how to build but pretty simple
1. Just grab one of the gradle zip from here : https://gradle.org/install/
2. Put the C:\Gradle\gradle-5.4.1\bin (adjust the location for bin folder as per your gradle zip downloaded in above step) in the Path for Environment variable
3. Open a new command prompt / powershell (assuming you on windows) and try
gradle -version
, to get confirmation path added in step 2 is referenced correctly
If all works fine you will see something like this :
------------------------------------------------------------
Gradle 5.4.1
------------------------------------------------------------
Build time: 2019-04-26 08:14:42 UTC
Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d
Kotlin: 1.3.21
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_212 (Oracle Corporation 25.212-b10)
OS: Windows 10 10.0 amd64
4. Now simply navigate to the project where you have your build.gradle file and if you need to generate the wrapper do in command line CMD / Powershell :
gradle wrapper
5. If you are not using wrapper, then simply use following to test out the clean and build tasks, of course you can call other tasks that you have defined in the build.gradle
gradle clean build
This should generate the build folder with distribution and zip of your project