User Tools

Site Tools


en:developer:release_kits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:developer:release_kits [2015/09/13 08:28] – external edit 127.0.0.1en:developer:release_kits [2018/03/26 23:12] – [**create-installer**] kjdon
Line 84: Line 84:
  
 ====rk3====  ====rk3==== 
 +
 +===Overview of Greenstone3 Release Kits===
 +There are four top level targets for all Greenstone3 release kits. They are:
 +
 +<code>
 +1 compile
 +2 create-distribution
 +3 create-installer
 +4 wrap
 +</code>
 +
 +Each is explained in detail below.
 +
 +  ***compile**
 +This target compiles the native binary executables and the documentation for the release. It checks out the Greenstone3 source code from the repository into a folder called ''greenstone3''. It then compiles it by running ''ant'', automatically editing files, and so on. It basically simulates what an svn user would do to compile Greenstone3 but with a few small differences. One such difference is that it compiles everything statically.
 +
 +When running ''ant'', this target uses a special build script which is part of the release kit, called ''operations-on gs3home.xml''. This file replaces ''dist-resources/build.xml'' which used to be in the repository.
 +
 +   ***create-distribution**
 +This target compiles all the java classes used in Greenstone3, and creates a clean Greenstone3 directory structure which holds the compiled java classes and the compiled binaries and documentation from the previous step. It exports the Greenstone3 source code to ''distribution/greenstone3''. It then compiles all the java classes, including those for GLI and the indexers, by running ant, using the special ''operations-on gs3home.xml'' script. It copies the compiled binary executables and documentation from ''greenstone3'' to the appropriate places in ''distribution/greenstone3''. It also deletes some files useful only on other operating systems, and some files only for greenstone2.
 +  ***create-installer**
 +This target creates an executable jar installer for Greenstone3, and puts it in a directory called ''installer''. It uses the files in ''distribution/greenstone3''. It uses the ''ant-installer'' package included with the release kit.
 +
 +  ***wrap**
 +This target wraps the executable jar installer in a native executable, and puts it in a directory called ''wrapped-installer''. It also creates another copy with a bundled JVM.
 ===sork2 and sork3=== ===sork2 and sork3===
 ====derk====  ====derk==== 
en/developer/release_kits.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1