Changes between Version 6 and Version 7 of AppVersionNew


Ignore:
Timestamp:
May 11, 2011, 8:54:14 PM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppVersionNew

    v6 v7  
    1 = update_versions remodel =
     1= Creating application versions =
    22
    3 The current app version model has become a complex kludge.
    4 This is a proposal for a new design.
     3The create new applications versions:
    54
    6 Directory structure:
     5 * Create the directory structure described below
     6   to store applications files
     7 * From the project's root directory, run '''./bin/update_versions'''.
     8
     9== Application directory hierarchy ==
     10
     11Application versions are stored in a directory hierarchy
     12under '''apps/''' in the project root directory.
     13The hierarchy has the following structure:
     14
    715{{{
    816apps/
     
    3543  <file>
    3644    <physical_name>PNAME</physical_name>
    37     [ <logical_name>LNAME</logical_name> ]
    3845    [ <main_program/> ]
    3946    [ <copy_file/> ]
     47    [ <logical_name>LNAME</logical_name> ]
     48    [ <url>URL0</url> ]
     49    [ <url>URLn</url> ]
    4050  </file>
    4151  ...
     
    4353}}}
    4454
     55File attributes include:
     56
     57 * '''physical_name''': the name of the file on disk.
     58 * '''main_program''': designates the main program.
     59 * '''copy_file''': the file is to be copied into the runtime directory
     60  on the client, rather than being linked to.
     61 * '''logical_name''': if '''copy_file''' is present, then name of the file
     62  in the runtime directory.
     63 * '''url''': URLs from which the file can be downloaded.
     64  Use this if you want to mirror your executables on separate servers.
     65  The executables must be present on the main server,
     66  at least while '''update_versions''' is run.
    4567You only need to list files that have a '''main_program''' or '''copy_file''' attribute,
    4668or whose logical name is different from its physical name.
     
    4870If the application has only one file (the main program),
    4971you don't need a '''version.xml''' file.
     72
     73If your application includes executable files other than the main program,
     74make sure that their user execute (u+x) flag is set
     75(relevant for Unix and Mac versions).