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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:developer:release_kits [2018/03/26 23:12] – [create-distribution] kjdonen:developer:release_kits [2018/03/26 23:14] – [wrap] kjdon
Line 104: Line 104:
    ***create-distribution**    ***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. 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**==+  ***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. 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.
  
Line 195: Line 195:
 This target wraps the executable jar installer in a native linux executable, and puts it in a directory called //wrapped-installer//. In the future it will also create another copy with a bundled JVM. This target wraps the executable jar installer in a native linux executable, and puts it in a directory called //wrapped-installer//. In the future it will also create another copy with a bundled JVM.
  
 +====Differences between linux release kit and other release kits====
 +===Wrapped executable with bundled java installer ===
 +The java installer for linux from the sun website is a self extracting executable - it does not have a gui installer interview process. Therefore, it was convenient to just create a regular tar with the same contents and ship that with the executable with bundled java. It is extracted into the temp directory on the user's machine when they execute the installer executable, whether java is found on their machine or not. Then, the installer jar is launched (using their java if they have it, otherwise the one in the temp directory). When the user hits 'install', java is copied from the temp directory into their greenstone installation (GSDL3HOME/packages/jre).
en/developer/release_kits.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1