I'm trying to write my first Commander plugin using the SDK. I just want to get some Parameters from the UI and based my creation on the ExampleParameterPanel provided with the SDK. I build and deploy the plugin without error but the Parameter part is empty if I try to create a step. Same issue if I go from the link on the Help page of the plugin, the landing page is totally blank (besides the navigation tabs from EC).
I verified my XML files and they are well-formed. Any suggestion on where to start?
Answer by nikhil · Jul 26, 2012 at 11:39 AM
The recommended approach to tackling this problem would be to start GWT Development Mode.
You did not specify the ElectricCommander Server version you are debugging against, I will assume the version number is 4.1.1 and the CommanderSDK version number is 1.2.
If these are your version numbers then please make sure to follow the instructions listed here.
Currently, ParameterPanels can only be debugged on the runProcedure interface. Navigate to this page by going to PluginManager (Administration tab, Plugins subtab). Once PluginManager has loaded, ensure the "Curently Installed" tab is highlighted. Look for the plugin name you are developing in the table and click on the hyperlink in the "Plugin Label" column. This will take you to the Project Details page for your plugin.
Find the procedure you wish to debug and click "Run ..."
The URL of the page that gets loaded when I click 'Run ...' looks like the following:
https://localhost/commander/link/runProcedure/projects/ExampleParameterPanel-1.0/procedures/Example%20Parameter%20Panel%20Procedure?
This URL must be specified when creating a Debug Configuration in Eclipse. See the Plugin Developers Guide for more information regarding setting up GWT Development mode in Eclipse.
Start GWT Development mode from Eclipse and open the URL it provides in a web browser.
As a reference point, the url that appears in my browser when I'm debugging the ExampleParameterPanel on Commander 4.1 looks like this:
https://localhost/commander/link/runProcedure/projects/ExampleParameterPanel-1.0/procedures/Example%20Parameter%20Panel%20Procedure?gwt.codesvr=127.0.0.1:9997&devmode
At this point you should be able to set breakpoints, view exceptions and any corresponding stack traces. Exceptions will appear in the Development Mode tab in Eclipse and will be colored red.
Eclipse error on Commander SDK 1 Answer
Perl error from file ops Plugin 1 Answer
How to use perforce plugin with streams 1 Answer
How do I add inline image to an email? 1 Answer
Help understanding use of IIS7 plugin in ElectricCommander 1 Answer
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.