Problems with upload Addon

  • 3 Replies
  • 339 Views
Problems with upload Addon
« on: August 01, 2018, 23:39:36 pm »
I have created Addon on TestProject platform, now i have to upload file into it.During upload I'm getting following error message 'operation fail please try again'
My jar file is here - https://drive.google.com/open?id=1iAgWII7Ft5500CvzRs1nYyWmi4XlX221

Please help me

Re: Problems with upload Addon
« Reply #1 on: August 01, 2018, 23:42:41 pm »
Your JAR file doesn't contain the actual action but the runner.
If you are following the examples or use them as templates, you should be using the JAR Gradle task to package the Addon.

Re: Problems with upload Addon
« Reply #2 on: August 01, 2018, 23:49:00 pm »
Does using Gradle is required options? Can I use Maven or don't use Gradle at all?

Re: Problems with upload Addon
« Reply #3 on: August 02, 2018, 00:08:23 am »
You can use Maven as explained here:
https://github.com/testproject-io/java-sdk-examples/blob/master/packaging-with-maven.md

You don't have to use neither Maven nor Gradle as long as you package the JAR correctly, including your code and all 3rd party libs, manifest.json and excluding our SDK.

 

Sitemap 1 2 3 4 5 6 7 8