Changeset 36834
- Timestamp:
- 2022-10-18T10:00:07+13:00 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/expeditee-release-kits/trunk/README.txt
r29233 r36834 6 6 2. Ant 7 7 3. JDK 1.8 for Expeditee 8 (4. For the Windows release-kits, you will further need Microsoft Visual Studio.) 8 4. For the Windows release-kits, you will further need Microsoft Visual Studio. 9 9 10 10 … … 12 12 13 13 1. Check out the expeditee release kits: 14 svn co http://svn.greenstone.org/other-projects/expeditee-release-kits 15 16 2a. Compile the ant taskdefs and ant installer as described in section D below. 17 To compile the ant-installer as is necessary, need to create an "antlib" folder in 18 shared\core\ant-installer and then copy your ANT_HOME\lib's ant.jar and ant-launcher.jar into it. 19 20 2b. Create a snapshots\expeditee folder 14 svn co http://svn.greenstone.org/other-projects/expeditee-release-kits/trunk expeditee-release-kits 21 15 22 16 23 3. Create the file "snapshots\expeditee\rke-build.properties". It should contain:17 2. Edit the file "\rke-build.properties.in". It should contain: 24 18 version:1 25 19 projectname:Expeditee … … 36 30 - x64:true* 37 31 32 33 B. Automated binary generation 34 The scripts expeditee-release-kits\create-expeditee.bat/sh will generate expeditee installers. 35 To use them, 36 1. First create a custom version of rke-setup.bat/sh.in at the same level (as "expeditee-release-kits\rke-setup.bat/sh") and adjust any environment variable paths as needed 37 2. Run create-expeditee.bat/sh 38 38 39 39 B. Each time you want to run the release-kit: 40 (MANUAL STEPS. A script that automates these steps follows in C) 40 C. OPTIONAL: Compile up custom ant taskdefs that the release kit relies on. 41 This is only needed if you update the ant task definitions or the ant installer code. 42 You will need to recompile them before running the release-kit. 41 43 42 Set the environment: 43 1. Add SVN\bin to the PATH 44 2. Set ANT_HOME and add ANT_HOME\bin to the PATH 45 3. Set JAVA_HOME to JDK 1.8 and add JAVA_HOME\bin to the PATH 44 1. Custome ant tasks 45 pushd shared\core\ant-tasks\greenstone 46 ant 47 popd 46 48 47 4. If you're on Windows, run the vcvars.bat file of your Microsoft Visual Studio. 48 49 My windows compile environment batch file looks like: 50 set ANT_HOME=C:\Research\apache-ant-1.8.2 51 set JAVA_HOME=C:\Program Files\Java\jdk1.8.0 52 set PATH=C:\Research\ant\bin;%JAVA_HOME%\bin;c:\Program Files\Subversion\bin;%PATH% 53 54 call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd" 55 call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" 56 57 (Microsoft SDK is necessary for the windows.h header I think. It may not be needed for the Expeditee release kits.) 58 59 5. Add your expeditee-release-kits\bin to the PATH. 60 E.g. on Windows 61 cd c:\Research\Nightly\tools\expeditee-release-kits\bin 62 set PATH=%CD%;%PATH% 63 64 E.g. on Linux/Mac: 65 export PATH=/Volumes/Research/jts21/expeditee-release-kits/bin:$PATH 66 67 Toro is the Mac we use and JDK1.8 is located in /Volumes/Research 68 Jeremy's Linux under his jts21 account is what's used to generate the Linux binary. 69 70 (6. If you have any file-locking issues, you may want to delete the contents of the snapshots\expeditee folder, all EXCEPT the rke-build.properties file) 71 72 6. Go to your snapshots\expeditee folder and run "rke": 73 cd snapshots\expeditee 74 rke 49 2. ant-installer 50 create the folder shared\core\ant-installer\antlib 51 copy ANT_HOME\lib\ant.jar and ANT_HOME\lib\ant-launcher.jar into it 52 pushd shared\core\ant-installer 53 ant 54 popd 75 55 76 56 77 C. Automated binary generation78 The script expeditee-release-kits\create-expeditee.bat now does all the above steps.79 To use it,80 1. First create a custom version of rke-setup.bat.in at the same level (as "expeditee-release-kits\rke-setup.bat") and adjust its environment variable paths81 2. Put create-expeditee.bat into C:\Research\Nightly. Check that the file paths it refers to are correct.82 3. Run create-expeditee.bat83 84 85 D. Compile up custom ant taskdefs that the release kit relies on,86 if you ever update the ant task definitions or the ant installer code. You will need to recompile them before running the release-kit.87 pushd shared\core\ant-tasks\greenstone88 ant89 popd90 91 pushd shared\core\ant-installer92 ant93 popd94 95 To compile the ant-installer, need to create an "antlib" folder in shared\core\ant-installer and then copy your ANT_HOME\lib's ant.jar and ant-launcher.jar into it.
Note:
See TracChangeset
for help on using the changeset viewer.