At 1:33 PM -0800 11/16/99, Richard Hartman wrote:
>There are two different places to set the application
>name & the application version. I would like a little
>clarification as to what the differences are and which
>is the proper one to use ... or perhaps how to keep both
>in sync with each other automatically.
The database name is typically the name of the application. If you don't fill in the
"Database Name" in the CW target settings, it'll default to the name of the PRC file
(without the PRC suffix). Since the database name is used to determine whether an
installed database overwrites an existing one, it is important that all application
database names are unique and that different versions of an application all use the
same database name. The "Application Icon Name" specified in Constructor is often
shortened enough to fit in the icon launcher view (as opposed to list view).
The database version specified in the CW target settings is an integer. It should be
incremented for each new release of the application: 1, 2, 3, .... The application
version specified in Constructor is a string. It should be "incremented" according to
your release strategy: 0.1b, 1.0, 1.1, 2.0, ...
In summary, the launcher uses the resources specified in Constructor. The database
name and version are used to determine which application to overwrite, if any. They
are not normally exposed to the user. There is no system to keep them in sync. Many
applications have an About dialog which indicates the application name and version.
This makes three separate places which need to be updated when a new version is
released.
-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks