1 | #----
|
---|
2 | # Supporting command-line tools to compile up Greenstone3 as native 64-bit binaries
|
---|
3 | # (i.e., so works with 64-bit JDK)
|
---|
4 |
|
---|
5 | ###
|
---|
6 | # JDK8
|
---|
7 |
|
---|
8 | # Using Cygwin:
|
---|
9 |
|
---|
10 | unzip zulu8.56.0.21-ca-jdk8.0.302-win_x64.zip
|
---|
11 | mv zulu8.56.0.21-ca-jdk8.0.302-win_x64 zulu-jdk8-64bit
|
---|
12 |
|
---|
13 | # Perl -- This zip does not provide a top-level folder, so use '-d' on uzip
|
---|
14 |
|
---|
15 | unzip strawberry-perl-5.18.4.1-64bit-portable -d strawberry-perl5-64bit
|
---|
16 |
|
---|
17 |
|
---|
18 | # Ant -- This is already unzipped and checked in
|
---|
19 |
|
---|
20 | # VisualStudio -- This is assumed to be installed in your System area
|
---|
21 |
|
---|
22 | # Subversion (svn) -- This is assumed to already be on our PATH
|
---|
23 |
|
---|
24 |
|
---|
25 | ###
|
---|
26 | # Running gs3-devel.bat sets PATH and other relevant environment variables
|
---|
27 | # appropriately
|
---|
28 |
|
---|
29 | cmd
|
---|
30 | .\gs3-devel.bat
|
---|
31 | cd ..
|
---|
32 |
|
---|
33 | # Then compile Greenstone3 in the ususal way
|
---|
34 |
|
---|
35 | ant
|
---|
36 | ant prepare
|
---|
37 | ant install
|
---|
38 | # ...
|
---|
39 |
|
---|
40 | # Or if working with the Release Kit code
|
---|
41 |
|
---|
42 | .\rk-setup.bat
|
---|
43 | mkdir releases
|
---|
44 | ...
|
---|
45 | rk3
|
---|
46 |
|
---|
47 | #----
|
---|
48 |
|
---|
49 |
|
---|
50 | ####
|
---|
51 | # Notes on where resources came from ...
|
---|
52 | ####
|
---|
53 |
|
---|
54 | ##
|
---|
55 | # JDK8
|
---|
56 | ##
|
---|
57 |
|
---|
58 | # The JDK zip file came from Azul
|
---|
59 |
|
---|
60 | firefox "https://www.azul.com/downloads/?version=java-8-lts&os=windows&architecture=x86-64-bit&package=jdk#download-openjdk"
|
---|
61 |
|
---|
62 | # => download zip
|
---|
63 |
|
---|
64 | # At time of writing, that was:
|
---|
65 |
|
---|
66 | wget "https://cdn.azul.com/zulu/bin/zulu8.56.0.21-ca-jdk8.0.302-win_x64.zip"
|
---|
67 |
|
---|
68 |
|
---|
69 | # As an alternative to JDK8 you might like to work with JDK11
|
---|
70 | # At the time of writing
|
---|
71 |
|
---|
72 | firefox https://www.azul.com/downloads/?version=java-11-lts&os=windows&architecture=x86-64-bit&package=jdk
|
---|
73 | wget "https://cdn.azul.com/zulu/bin/zulu11.50.19-ca-jdk11.0.12-win_x64.zip"
|
---|
74 |
|
---|
75 | unzip zulu11.50.19-ca-jdk11.0.12-win_x64.zip
|
---|
76 | mv zulu11.50.19-ca-jdk11.0.12-win_x64 zulu-jdk11
|
---|
77 |
|
---|
78 |
|
---|
79 | ##
|
---|
80 | # Perl
|
---|
81 | ##
|
---|
82 |
|
---|
83 | The Perl zip file came from Strawberry Perl
|
---|
84 |
|
---|
85 | wget https://strawberryperl.com/download/5.18.4.1/strawberry-perl-5.18.4.1-64bit-portable.zip
|
---|
86 |
|
---|
87 |
|
---|