Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Suggestions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-19-2005, 10: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, 2173 views)
Reply With Quote
  #2  
Old 07-19-2005, 11:21 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
Reply


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 09:08 PM.


Copyright © 1999-2023 Kinook Software, Inc.