External tools can be called from withing winIDEA by listing them in Tools / Customize / Tools (for tools that you wish to have available every time you start winIDEA) and Tools / Customize / Local Tools (for tools which you want to have available in a specific workspace).
Example of a tool configuration, which updates the local SVN repository.
In order to add a command to the Tools menu, add a new tool entry in the scope of your choice (Tools or Local Tools) and fill the details:
Menu text - tool display name for the Tools menu.
Command - specify the path to the tool executable
Arguments - specify the arguments for the tool. winIDEA recognizes a few macros, which can be selected from the menu on the right.
Initial Directory - specify the directory from which you wish to call the tool. winIDEA recognizes a few macros, which can be selected from the menu on the right.
Prompt for Arguments - winIDEA will prompt the user to enter the arguments for the tool. If any arguments are already entered, they will be shown in the dialog.
Save documents before running tool - all documents will be saved before the tool is invoked.
Use Output Window - winIDEA will redirect the standard output to the Tools tab in the Output window.
If you're setting up local tools, don't forget to save the workspace!