Changeset 35682 for main/trunk/release-kits/README.txt
- Timestamp:
- 2021-10-23T18:47:29+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/README.txt
r35626 r35682 22 22 23 23 24 ## 24 25 # Getting Ready to use the Release Kit 25 26 26 To use the Release Kit scripts, some source code needs to be compile first: 27 It used to be that you needed to compile up the Release Kit to use the 28 custom Ant Tasks it relied on. However as the source code is 100% 29 Java, JDK8 compile up jars have been produced and committed, so it now 30 can be used immediately after an svn checkout. 27 31 28 ant compile 32 It also used to be left to the developer to set their environment to 33 the Release Kit scripts in <rkhome>/bin were found. This is now 34 take care of by: 29 35 30 And the Release Kits 'bin' directory added to your PATH. 31 For Linux, for example: 36 . ./rk-setup.bash (Unix) 37 or 38 rk-setup.bat (Windows) 32 39 33 export PATH=$PWD/bin:$PATH34 40 35 Or for Windows: 36 37 set PATH=%CD%\bin;%PATH% 38 39 Finally, for compilation compilation of JNI code in Greenstone3 to be able to 40 locate the necessary header files (e.g., jni.h), JAVA_HOME needs to be set, 41 For compilation of JNI code in Greenstone3 to be able to locate the 42 necessary header files (e.g., jni.h), JAVA_HOME needs to be set. 41 43 42 44 For example (on Ubuntu-16 32-bit): … … 56 58 # In the following the redirect character (>) is hard up against the version number 57 59 # to avoid a space occuring at end of echo of the line output to the property file 60 58 61 echo version:3.11rc> rk3-build.properties 62 63 For a Linux 64-bit build, add in: 64 65 echo x64:true>> rk3-build.properties 66 67 68 The kick off the whole process with: 59 69 60 70 rk3 61 71 72 The end result is an installer for Greenstone in: 62 73 63 More detailed notes at: 74 products 75 76 77 ## 78 # Updating the Java source code to the Release Kit code base 79 80 In the event any changes are made the custom Java based tasks the 81 Release Kit provides, then the sequence to regenerate the compiled 82 jar files is: 83 84 . ./gs3-setup.bash 85 86 ant compile 87 88 svn commit -m "<message>" \ 89 shared/core/ant-tasks/greenstone/anttasks.jar \ 90 shared/core/ant-installer/lib/ant-installer.jar \ 91 shared/core/ant-installer/lib/ant-installer-ext.jar 92 93 94 ==== 95 96 # More detailed notes in general about the Release Kit code at: 64 97 65 98 http://wiki.greenstone.org/doku.php?id=en:developer:release_kits
Note:
See TracChangeset
for help on using the changeset viewer.