This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Setting Product Version from properties file.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jan 19, 2011
06:40 AM
Setting Product Version from properties file.
Hi,
Is it possible to set the values for for product version and copyright year in Project -> Description tab from a properties file. I am more intrerested about setting major, minor, revision, subRevision properties for productVersion from a properties file.
Thanks
Is it possible to set the values for for product version and copyright year in Project -> Description tab from a properties file. I am more intrerested about setting major, minor, revision, subRevision properties for productVersion from a properties file.
Thanks
(5) Replies
‎Jan 19, 2011
08:45 AM
AFAIK, not directly. What I do is to write there some variables that I replace prior to building (and if you do that for instance, you'll note that the Advanced Designer will complain about the value not being made of numbers).
‎Aug 16, 2011
03:38 PM
We use ant to build as well. It dynamically creates a project.iap_xml from a template that contains tailoring labels such as @VERSION_MAJOR@, @VERSION_MINOR@, etc. We use the copy command and a filter set like so:
The VERSION_MAJOR & VERSION_MINOR properties are loaded from a properties file that is edited at the start of each release cycle.
The VERSION_MAJOR & VERSION_MINOR properties are loaded from a properties file that is edited at the start of each release cycle.
‎Sep 06, 2011
09:15 AM
Glad I could help!