KBEC-00247 - SDK 2.0 Class locations and instructions

Summary

Where are the request/response classes in CommanderSDK 2.0?

Solution

In SDK 2.0 some packages changed and a new jar file called commander-client.jar was introduced. Requests and responses live in commander-client.jar as of SDK 2.0. The file commander-client.jar is now shipped with ElectricFlow in the ElectricFlow InstallDir/utils directory as of ElectricFlow v4.2.1.

You may have to contact Electric Cloud Technical Support to get a copy of the commander-client.jar if you are not running v4.2.1 and later. 

Including in classpath

For Linux, the commander-client.jar will automatically be included in the classpath. 

For Windows, simply placing commander-client.jar in the utils directory may not build it into the classpath. You have to reset the COMMANDER_HOME ENV variable to C:\Program Files\Electric Cloud\ElectricCommander without quotes. 

See Also

http://ask.electric-cloud.com/questions/2460/where-are-findobjectsrequest-and-other-requestresponse-classes-in-commandersdk-20

Applies to

  • 4.2.0 and earlier
  • OS versions: Linux, Windows
Have more questions? Submit a request

Comments

Powered by Zendesk