Changeset 1196 for gsas/win/dist
- Timestamp:
- May 4, 2012 10:50:03 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsas/win/dist/bootstrap.bat
r1099 r1196 1 1 @REM this script must be run from the GSAS installation directory 2 @echo *********************************************************** 3 @echo Please enter proxy server information, if required for your 4 @echo web environment. Note that the proxy address will be a 5 @echo computer address (proxy.mysite.com) and the proxy port will 6 @echo number, such as 80. If not needed or unsure, leave the 7 @echo next two responses blank. 8 @echo *********************************************************** 9 @if exist proxyinfo.txt del proxyinfo.txt 10 @set proxy= 11 @set proxp= 12 @set proxadd= 13 @set /p proxadd="Enter the proxy address [none needed]: " 14 @if (%proxadd%) == () goto start 15 @set /p prxport="Enter the proxy port [8080]: " 16 @if (%prxport%) == () set prxport=8080 17 @echo %proxadd% > proxyinfo.txt 18 @echo %prxport% >> proxyinfo.txt 19 @set proxy=--config-option servers:global:http-proxy-host=%proxadd% 20 @set proxp=--config-option servers:global:http-proxy-port=%prxport% 21 @echo Using proxy settings: 22 @set proxy 23 @set proxp 24 :start 2 25 @echo ***************************************** 3 26 @echo Press return to start GSAS/EXPGUI install … … 7 30 @mkdir MyWork 8 31 @ECHO Loading GSAS from subversion server 9 .\svn\bin\svn co https://subversion.xor.aps.anl.gov/EXPGUI/gsas/all . 32 .\svn\bin\svn co https://subversion.xor.aps.anl.gov/EXPGUI/gsas/all . %proxy% %proxp% 10 33 @if exist expgui goto getexpgui 11 34 @ECHO ************************************************************************* 35 @ECHO Install failed! 36 @ECHO ************************************************************************* 12 37 @ECHO Load from repository failed. Perhaps internet access is blocked or down. 13 @ECHO Install failed! 38 @echo Please check with your network provider if a proxy is needed or verify 39 @echo your proxy settings. 14 40 @ECHO ************************************************************************* 15 41 @pause … … 17 43 :getexpgui 18 44 @echo loading EXPGUI from repository 19 .\svn\bin\svn switch https://subversion.xor.aps.anl.gov/EXPGUI/trunk/ expgui 45 .\svn\bin\svn switch https://subversion.xor.aps.anl.gov/EXPGUI/trunk/ expgui %proxy% %proxp% 20 46 @echo loading GSAS programs 21 .\svn\bin\svn switch https://subversion.xor.aps.anl.gov/EXPGUI/gsas/win/exe/ exe 47 .\svn\bin\svn switch https://subversion.xor.aps.anl.gov/EXPGUI/gsas/win/exe/ exe %proxy% %proxp% 22 48 @echo loading pgplot 23 .\svn\bin\svn switch https://subversion.xor.aps.anl.gov/EXPGUI/gsas/win/pgl/ pgl 49 .\svn\bin\svn switch https://subversion.xor.aps.anl.gov/EXPGUI/gsas/win/pgl/ pgl %proxy% %proxp% 24 50 @echo ************************************************** 25 51 @echo Install has completed. EXPGUI will now be started.
Note: See TracChangeset
for help on using the changeset viewer.