How to distribute JPhotoTagger
A JPhotoTagger distribution consists of:
- A platform independend ZIP file containing JPhotoTagger's JAR files, PDF manual, external scripts etc. The PDF manual will be created automatically from JPhotoTagger's internal HTML help pages.
- A Windows setup (EXE) file, which contains the same content as the ZIP file and installs JPhotoTagger (integrates it into the software control panel and provides an unistall routine)
- Up to date version information file
jphototagger-version.txt; JPhotoTagger's auto update checks it for newer versions - Up to date download web page containing JPhotoTagger's current version and the current date in the HTML head. A HTML index page will be created, linking to JPhotoTagger's internal HTML help pages, which will be transferred to the web site along with the HTML help pages.
- Up to date
.htaccessfile, which redirects from the download web page to the current download location
Everything is done automatically through the Ant
file distribute.xml within the repository root, subdirectory
DeveloperSupport/scripts. Each task can be executed separately by
calling an appropriate Ant target or completely by the 0-all target.
Some targets reading private properties from property files in
DeveloperSupport/conf, which may differ from system
to system and excluded from version control. They must exist and
containing the key value pairs as described below:
sourceforge.propertieswith the keysusernameandpassword(login data, not very secure, restrict access!)innosetup.propertieswith the keycompil32.exe(file path to Inno Setup compiler, e.g.C:\\Program Files\\InnoSetup\\Compil32.exe)website.propertieswith the keysserver(JPhotoTagger's web site server),userandpass(login data, not very secure, restrict access!)
To create the Windows setup EXE file, Inno Setup is required.
If all files are created or modified, they will be uploaded to the correct places, currently the ZIP and setup EXE file to Google Code and the other files to JPhotoTagger.
Author:
Write e-Mail
Status of this document: 2013-02-08