Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-24-2009, 02:47 PM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
Transient optiton

I have written a custom action which takes an input file and then determines whether or not to rebuild an output file based on file dates. It takes a number of options and works well.

What I want to be able to do is to rebuild the output if the user indicates that they wish to ignore the file dates and just do it. The odd thing about my request is that I do not want this option to be persistent, i.e. it should be a one shot deal. I am afraid that a user might leave the option and would like to eliminate that option.

Any suggestions?
Reply With Quote
  #2  
Old 08-24-2009, 03:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Maybe create a signal file to enable the temporary option, and in the action logic, only ignore dates if found (and delete it afterwards).
Reply With Quote
  #3  
Old 08-24-2009, 03:24 PM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
Thanks for the suggestion. I appreciate it.

What the user can do now is to just go and manually delete the output file in order to force a rebuild.

The thing I was looking for was some way to tie this "transient property" into the Visual Build UI. I thought that it was a long shot but wanted to ask.

I think that this is somewhat analogous to the Visual Studio concept of Build versus Rebuild.
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 06:20 PM.


Copyright © 1999-2023 Kinook Software, Inc.