en:user_advanced:installation_311
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:installation_311 [2025/07/14 21:24] – [Uptodate source code from SVN] kjdon | en:user_advanced:installation_311 [2025/07/15 00:08] (current) – kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Advanced Installation: | ||
+ | //Updated on 30 Sep 2021, with changes that do not apply for Greenstone 3.10 and earlier.// | ||
- | ====== | + | [[en: |
- | //Updated on 30 Sep 2021, with changes that do not apply for Greenstone 3.10 and earlier. | ||
- | For instructions related to compiling GS3.10 from source distribution or with source component, or with source code from before September 2021, refer to the now [[old: | ||
For most users, the main Greenstone download (also called the " | For most users, the main Greenstone download (also called the " | ||
Line 424: | Line 424: | ||
--> | --> | ||
- | ===== Source Code Stability ===== | ||
- | Note: This page is aimed at Greenstone developers. | ||
- | |||
- | The source code stability system attempts to provide developers with a constant stable code base for development even as the main trunk passes between stable and unstable states. If you are doing development on a working copy of the trunk, but the trunk has bugs which prevent it compiling or running, then it can be very hard to test your changes. Rather than spend time inquiring into those bugs, the stability system gives you a way to temporarily roll your working copy back to the last stable state. Once you have finished testing your changes, you can then roll you working copy forward again and commit your changes. Except in the case where other developers have made significant changes to the trunk, your changes will start working once the trunk is stable again. | ||
- | |||
- | The stability system works by periodically checking out the trunk and testing it for stability, then creating a ' | ||
- | |||
- | To make your working copy stable, change to the root directory of the working copy and run one of these commands: | ||
- | < | ||
- | (For Greenstone2): | ||
- | (For Greenstone3): | ||
- | </ | ||
- | Or to checkout a fresh stable working copy, run one of these commands: | ||
- | < | ||
- | (For Greenstone2): | ||
- | (For Greenstone3): | ||
- | </ | ||
- | |||
- | Then test your changes and/or keep working on them. Once you are ready to commit your changes, switch back to the trunk: | ||
- | < | ||
- | (For Greenstone2): | ||
- | (For Greenstone3): | ||
- | </ | ||
- | And commit as normal. | ||
- | |||
- | **Note**: The stable tags are read-only. (Only the nightly tasks that create the stable tags can write to them.) This is for good reason; allowing commits to the stable tag would be lost the next time the trunk was tagged as stable. | ||
- | |||
- | The projects ' | ||
- | You can execute a command like the following to switch to the stable tag for one of | ||
- | these projects: | ||
- | |||
- | '' | ||
- | |||
- | And switch back with: | ||
- | |||
- | '' | ||
- | |||
- | **Note**: Though the stable branches are in separate locations in the repository, they should be considered as one unit. To get a //bona fide// stable working copy, each project which made up the working copy would have to be switched to the stable tag of the project. Mixing of ' | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Moving a Greenstone installation ===== | ||
- | For Linux, you will need to uninstall your Greenstone first and then reinstall it in the new location. | ||
- | |||
- | For Windows: | ||
- | In the case of GS2.83, if you move your Greenstone2 installation folder to some other location, make sure that you relocate it such that there are no spaces in its new path. For instance, " | ||
- | |||
- | Once you've moved your Greenstone installation, | ||
- | - Open your Greenstone 2 installation' | ||
- | - To get the local library server (server.exe) to work from the new location: if your top-level Greenstone installation folder contains the files llssite.cfg and glisite.cfg, | ||
- | - To get the Apache web server included with Greenstone to work: delete the file lib\java\log4j.properties. (Doing so will ensure that if you execute the gs2-server.bat file--which launches the Greenstone Server Interface--this properties file will be regenerated with the correct value for gsdlhome.) | ||
en/user_advanced/installation_311.1752528295.txt.gz · Last modified: 2025/07/14 21:24 by kjdon