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
Next revisionBoth sides next revision
en:developer:release_kits [2018/03/26 23:11] – [wrap] kjdonen:developer:release_kits [2018/03/26 23:12] – [create-distribution] kjdon
Line 97: Line 97:
 Each is explained in detail below. Each is explained in detail below.
  
-==compile==+  ***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. 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. 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==+   ***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**==
en/developer/release_kits.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1