JSup can save/publish an application in zip format for two different purposes:
- Backup: a simple zip version of the application directory. A backup archive maybe useless is the Revision control of a JSup application is used.
- Publication: to be used in production environment (in the end-user PC).
Archive configuration
To configure the backup/publish archive open the Application properties dialog and press the Archives button.
The Configured application archives will be shown, and you can edit/add/delete the archives.
Remember that by adding a new archive configuration the application will not archived/published yet (see - Archiving an application).
By deleting a configuration the archive(s) will not be deleted: only the ability to archive the application on the corresponding archive file will be removed (you have to manually delete them, if you want that).
In the picture above the configuration dialog for the Publication archive is also shown.
The means of the fields of an archive are:
- Description: a mnemonic description for you, when you will use the archive configuration, to remember for what you have created it.
- Archive path name: the full path of the archive that will be created.
- Backup only: check it if the purpose of the archive is only a backup (if checked the archive operation will be very fast, but the output archive cannot be directly used in production environment).
- Crypted: check it if you want to encrypt the archive so it will be not possible to extract and edit it (at all or without the Archive password given in the Application properties dialog.
- Copy time distances: enter a list of numbers (days, comma separated) that will be used by JSup to keep more than a copy of the archive. See its tooltip for more information.
Archiving an application
To archive an application (for backup/publish purposes both) use the menu File / Archive/publish application (or Ctrl+Shift+S keys).
Select the archive configuration you want to use and press the Ok button (or Enter).
If the selected archive configuration is not for backup only then all graphic library objects is automatically updated and all the application JavaCode is recompiled.