source: local/greenstone3/windows-64bit/gs3-setup.bat

Last change on this file was 36652, checked in by anupama, 19 months ago

Adding a comment linking to Win32SVN on sourceforge, so we don't need admin rights to install SVN on a Win machine

File size: 1.3 KB
Line 
1@echo off
2
3:: You can get a zipped version of SVN for windows (no installer, so no need for admin rights)
4:: from https://sourceforge.net/projects/win32svn/files/1.8.17/apache24/, download the plain .zip file
5:: e.g. svn-win32-1.8.17-ap24.zip, unzip and put its bin folder on PATH
6:: None of the other suggestions worked from https://stackoverflow.com/questions/185693/svn-client-on-windows-without-administrator-rights
7
8::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20
9set JAVA_HOME=%CD%\zulu-jdk8-64bit
10::set JAVA_HOME=%CD%\zulu-jdk11-64bit
11
12if not exist "%JAVA_HOME%" (
13 echo %JAVA_HOME% not found. Exiting...
14 goto done
15)
16set PATH=%JAVA_HOME%\bin;%PATH%
17echo + Set JAVA_HOME to local instance and updated PATH
18
19
20::set PERL_HOME=C:\strawberry-perl-64bit\perl
21set _PERL_TOPLEVEL=%CD%\strawberry-perl5-64bit
22set PERL_HOME=%_PERL_TOPLEVEL%\perl
23
24if not exist "%PERL_HOME%" (
25 echo %PERL_HOME% not found. Exiting...
26 goto done
27)
28echo + Set PERL_HOME to local instance and updated PATH
29
30set ANT_HOME=%CD%\apache-ant-1.9.5
31
32if not exist "%ANT_HOME%" (
33 echo %ANT_HOME% not found. Exiting...
34 goto done
35)
36set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
37echo + Set ANT_HOME to local instance and updated PATH
38
39:: Unset local variable(s)
40set _PERL_TOPLEVEL=
41
42:done
Note: See TracBrowser for help on using the repository browser.