Hi,
When I tried to create a custom connected system template I’m getting compilation error though I’ve added SDK in build path.
From sample its asking me to import com.appian.connectedsystems but in 19.1 SDK, the classes are starting with com.appiancorp (there is no class for connectedsystems).
Can Anyone help me on this?
Appian Version - 19.1
On premises
Thanks in advance.
Cheers,
kalai.
Discussion posts and replies are publicly visible
What version of the SDK are you using? Are you using the build.gradle file provided in the examples repo?
https://github.com/appian/integration-sdk-examples/blob/master/Connected%20System%20Plug-in%20(CSP)%20Examples/Hello%20World/build.gradle
Thanks for your reply Tim.,
I'm using SDK Version: 2.0.0.
yes i'm using the same build.gradle file provided in the repo.
Please let me if i need to change something on build.gradle file to overcome this issue.
Kalai.
What version of Appian are you working on?
Hi Tim,
I'm currently facing an issue trying to deploy my connected system template as well.
I have read through the documentation for the connected system templates and looked over the examples found in GitHub regarding connected system templates. I found that most of them are built using gradle. Is it possible to build my jar file using maven?
I've seen in the build.gradle files the bottom configurations:
Then I tried to translate the above file into the maven pom.xml file such as the below:
I tried to add these dependencies into my pom.xml to create my jar and deploy the jar. However I've been getting this error:
I don't quite understand as to why I would be getting this error if my dependencies added are in the compile scope, as they should be there in both compile-time and runtime.
Could you please help to advise on this?
What version of Appian are you on?
I'm on version 19.3
weiminbenjamins mind opening a support case and emailing me the case number? I think it will make this easier to work through. Your gradle file looks correct.
I'm actually trying to use maven instead of gradle as the build tool for my project as most of my team utilizes maven as a build tool than gradle.
I have used gradle to build the jar instead of maven for the time being and managed to deploy the jar into my environment.
Glad to hear you got it working!