Changeset 1196


Ignore:
Timestamp:
May 4, 2012 10:50:03 AM (9 years ago)
Author:
toby
Message:

revised for proxy use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsas/win/dist/bootstrap.bat

    r1099 r1196  
    11@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
    225@echo *****************************************
    326@echo Press return to start GSAS/EXPGUI install
     
    730@mkdir MyWork
    831@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%
    1033@if exist expgui goto getexpgui
    1134@ECHO *************************************************************************
     35@ECHO                                 Install failed!
     36@ECHO *************************************************************************
    1237@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.
    1440@ECHO *************************************************************************
    1541@pause
     
    1743:getexpgui
    1844@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%
    2046@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%
    2248@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%
    2450@echo **************************************************
    2551@echo Install has completed. EXPGUI will now be started.
Note: See TracChangeset for help on using the changeset viewer.