18.4. Element: QuickRev / Preferences / Tools

[Tip]Tip
To configure tools easily use the Tool Configuration dialog (ToolsConifgure Tools ...), configure your tools and copy the xml-structure out of the user-configuration file .quickRev/config/main from your home directory.
[See] Configure Tools ... for more information about the Tool Configuration dialog.

Name Use Values Changeable via the QuickRev menu Description
Element Tools optional Tool+ yes Container for all Tool elements.
Element Tool optional (Command, (OR|AND))*, Command yes Element to specify the commands of a tool.
Attributes id required string no ID of the tool.
name required string yes The name of the tool (and the corresponding menu item).
autoExec optional true|false yes Specifies whether the tool will be executed automatically when selecting the corresponding menu item.
autoHide optional true|false yes Specifies whether the tool dialog will be closed automatically after successful execution of all commands.
autoExit optional true|false yes Specifies whether QuickRev will be exited automatically after successful execution of all commands.
cycle optional Initial|FollowUp yes Specifies in which review cycles the menu item will be visible. If the attribute is absent the tool will be shown in all review cycles.
phase optional Creation|Review|Correction|Finished yes Specifies in which review phase the menu item will be visible. If the attribute is absent the tool will be shown in all phases.
role optional Initiator|Reviewer yes Specifies in which role the menu item will be visible. If the attribute is absent the tool will be shown in all roles.
Element Command optional text yes The command to be executed. Placeholders for internal commands and variables can be used to be replaced for execution of the command. For a list of placeholders select the Show List Of Placeholders link in the Tool Configuration dialog (menu ToolsConfigure Tools ...).
Element AND optional EMPTY yes Connects two commands. The following command will be executed only, if the previous one was executed successfully.
Element OR optional EMPTY yes Connects two commands. The following command will be executed even if the execution of the previous command failed.
<?xml version="1.0" encoding="UTF-8"?>
<QuickRev configName="name">
  <Preferences>

    <Tools>    
      <Tool 
        id="t1"
        name="init review (svn add, commit &amp; send email)"  
        autoExec="false" 
        autoHide="true"
        autoExit="false"
        cycle="Initial"
        phase="Creation"
        role="Initiator">
        <Command>%svn% add %filePath%</Command>
        <OR/>
        <Command>%svn% commit -m "init review" %filePath%</Command>
        <AND/>
        <Command>&lt;send-email&gt;</Command>
      </Tool>
    </Tools>
    
  </Preferences>
</QuickRev>

Get QuickRev at SourceForge.net. Fast, secure and Free Open Source software downloadsCopyright 2008 - 2016 Tom SeidelLast Update: 2016-11-5