Loading
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

  • 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).
  • How can you put variables in the version field in the advanced designer? IA doesnt allow letters in there. I need to put SP1 as part of my version number and I build my installer using Ant.
  • 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.
    Expand Post

Loading
Setting Product Version from properties file.