View Single Post
  #3  
Old 08-17-2005, 05:54 AM
jjanvier jjanvier is online now
Registered User
 
Join Date: 08-16-2005
Posts: 3
Quote:
Originally posted by kevina

If you don't want to pass in a macro but have the build "compute" which day of the week it is, then you can use a script expression instead. You could define a conditional build rule like "Build only if macro or expression" [WeekDay(Date)] is equal to 3 or similar...
Hi Kevina,

Thank you for your reply.
My previous post might be unclear to what I meant.
I will re-explain: At night we build the same software twice(in debug mode and afterwards in release mode).
Because the project is now almost finished and the software is in sustaining, it is not necessary to build the debug mode; but I'm still responsible that the software would build in debug-mode without faults. So therefore I only want to build the software in debug-mode once a week.(release still will be build every night)
I'm using one buildscript in which I set a macro, which tells the buildscript whether to build in debug-mode or to build in release-mode.
I already implemented two macro's one for debug-mode and one for release-mode. Now I want to set a schedule on the macro of the debug-mode, so that it will be 'activated' only once a week.

Do you have more information or resource(where I can find the info) on computing which day of the week it is?
We are using VBP 5.3/5.5

Thnx in advance...
Regards,
DJ

Last edited by jjanvier; 08-17-2005 at 05:57 AM.
Reply With Quote