Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Suggestions

Thread Tools Rate Thread Display Modes
Old 07-19-2005, 11:48 AM
kristogar kristogar is online now
Registered User
Join Date: 06-17-2005
Posts: 2
Selection and rebuild selected is different from normal build

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.
Attached Files
File Type: bld new visual build professional project.bld (998 Bytes, 951 views)
Reply With Quote
Old 07-19-2005, 12:21 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,849
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 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.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 11:50 PM.

Copyright 1999-2022 Kinook Software, Inc.