PDA

View Full Version : Show command line for Run step


pjaquiery
03-31-2004, 04:16 PM
It would be nice to be able to have the command line used in a Run Step shown in the log as is done for many of the other step types.

Often the command line is constructed at run time and it is difficult to be sure that the constructed command line is correct at times :-)

kinook
03-31-2004, 05:16 PM
If 'Tools | Application Options | Logging | Log default property of each step' is checked, it will log the (expanded) command property of a Run Program step.

pjaquiery
03-31-2004, 11:44 PM
Ok, that works, but now I get the entire contents of things like Script Steps, and that I don't want!

As a low priority item (but probably simple to implement), I'd still like the "Show Command line" check box.

kinook
04-01-2004, 08:36 AM
To selectively disable logging of the default action (or modify which property is logged) for an action type (for instance, for the Run Script action), remove or edit the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Kinook Software\Visual Build Professional\Actions\<action name>\DefaultProperty. You can use the Write Registry action to do it:

<step action='Write Registry' type='0'>
<DeleteValue type='11'>-1</DeleteValue>
<RootKey type='3'>-2147483646</RootKey>
<SubKey>SOFTWARE\Kinook Software\Visual Build Professional\Actions\Run Script</SubKey>
<ValueName>DefaultProperty</ValueName>
<ValueType type='3'>1</ValueType>
<indent type='3'>1</indent>
<name>disable logging of Script</name>
</step>

pjaquiery
04-01-2004, 04:07 PM
That is altogether too subtle, I'll wait for the check box :-)


Admin note: Implemented in v6