source: local/greenstone2/windows-64bit/setup.bat@ 30030

Last change on this file since 30030 was 29524, checked in by ak19, 10 years ago

64 bit setup.bat version that works on win 64 machine uses Visual Studio 9.0

File size: 1.3 KB
Line 
1@echo off
2echo.
3echo ******************************
4
5set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55
6if not exist "%JAVA_HOME%" echo %JAVA_HOME% does not exist& goto done
7set PATH=%JAVA_HOME%\bin;%PATH%
8
9echo + Set JAVA_HOME=%JAVA_HOME% and updated PATH
10
11set PERL_HOME=C:\Perl64
12if not exist "%PERL_HOME%" echo %PERL_HOME% does not exist& goto done
13set PATH=%PERL_HOME%\bin;%PATH%
14
15echo + Set PERL_PATH=%PERL_HOME% and updated PATH
16
17rem set ANT_HOME=C:\apache-ant-1.9.4
18::set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%PATH%
19::set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;C:\Program Files (x86)\putty;C:\Windows\System32\UnxUtils\usr\local\wbin;%PATH%
20rem set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;C:\Program Files (x86)\putty;C:\Windows\System32\linuxtools;%PATH%
21
22rem echo + Set ANT_HOME=%ANT_HOME% and updated PATH
23
24:: call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
25::set vclocation=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
26set vclocation=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
27::set vclocation=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
28if not exist "%vclocation%" echo %vclocation% does not exist& goto done
29pushd "%vclocation%"
30call vcvarsall.bat amd64
31popd
32
33:done
34echo Leaving local/setup.bat
35echo ******************************
36echo.
Note: See TracBrowser for help on using the repository browser.