Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Suggestions (https://www.kinook.com/Forum/forumdisplay.php?f=4)
-   -   Selection and rebuild selected is different from normal build (https://www.kinook.com/Forum/showthread.php?t=1162)

kristogar 07-19-2005 10:48 AM

Selection and rebuild selected is different from normal build
 
1 Attachment(s)
I just deleted my entire source directory due to the following unexpected behavior. I have a process files build step that deletes everything from each found bin, obj subdirectory that works fine when the build script is run in its entirety. However when I selected a couple of build steps to do a rebuild selected my entire source tree got deleted because the behavior is now not to evaluate the search but just perform the copy step that deletes everything.

The expected behavior would be that the process files would be evaluated as is the case when the entire script executes.

A same thing was observed with conditional build steps it appears that selecting a couple of steps and then performing a rebuild selected circumvents conditionals and other nesting.

Please see the attached bld file in order to reproduce.

kinook 07-19-2005 11:21 AM

The behavior of rebuild selected to ignore build rules, completion status, etc., is by design. It is an ad hoc method to build the selected steps regardless of these conditions. See http://www.kinook.com/Forum/showthread.php?threadid=927 for more details.

There is no need to use the Process Files step in conjunction with a Copy Files action, since the Copy Files action has recursive processing of include/exclude masks built in. Just copy your settings from the Process Files step to the Copy Files step, and remove the Process Files step. This will be much safer than having a deleting Copy Files action that specifies no include/exclude values.


All times are GMT -5. The time now is 01:32 PM.


Copyright © 1999-2023 Kinook Software, Inc.