"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 02:01 PM 11/20/2003, Gregg Woodcock wrote:
> >P.S. How do all you programmers handle the creation/compile/release date
in
> >your apps?  Do you use a string resource in the RSC?  Do you have a good
way
> >to auto-populate this or do you just manually set it before the last
compile
> >prior to release?
>
> A script that writes out a header file that can be included in RCP and
> source files and then does the build seems like a good strategy.  Making
it
> check out your sources from version control and tag them with a release
tag
> is also a good idea allowing you to reproduce older builds easily.  If
> you're using CW, builds can be automated using cmdide to build a CW
project
> from the command line.
>
> If someone wants to contribute code to PilRC that predefines __DATE__ and
> __TIME__, I'm sure we'd accept it, especially now that 3.0 beta 4 allows
> string #defines in most places.  See
http://sourceforge.net/projects/pilrc.

This is the best way to handle it.  And while you are at it, add a
__VERSION__ that PilRC will copy the 'tver' 1/1000 value over.  THAT WOULD
BE GREAT!  Completely automatic; not more manual updates NOR makefile
scripts!  I'm eagerly awaiting 3.0 beta 5!!! :>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to