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
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:
googlecode.propertieswith the keys
password(login data, not very secure, restrict access!)
innosetup.propertieswith the key
compil32.exe(file path to Inno Setup compiler, e.g.
website.propertieswith the keys
server(JPhotoTagger's web site server),
pass(login data, not very secure, restrict access!)
To create the Windows setup EXE file, Inno Setup is required.
Status of this document: 2013-02-08