Changeset 7742

Show
Ignore:
Timestamp:
03/21/07 23:53:08 (22 months ago)
Author:
BradNeuberg
Message:

Updated install.bat with comments, made it more generic for other environments, and now copy everything to a c:\dot directory complete with the latest sources to make debugging on windows easier when using gdb

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dot/proxy-build/win/install.bat

    r7734 r7742  
     1rem Move new distributions to a place on Windows we can run them. 
     2rem 
     3rem Define WINDOWS_BUILD to the full path to where your Windows build 
     4rem files are (such as z:\), and SOURCE_PATH to where your Dojo Offline 
     5rem local proxy source files are (such as y:dev\dojo\offline\trunk\src\dot\proxy). 
     6rem 
     7rem On my machine, Z:\ is a mapped network drive that actually maps to a Samba 
     8rem mounted drive, through Parallels, to a directory on my Mac OS X box 
     9rem (~/dev/dojo/offline/trunk/src/dot/proxy), while Y:\ is a mapped network  
     10rem drive that maps through Samba and Parallels, to my home directory. Note 
     11rem that Windows-style network paths will not work for these variables, since 
     12rem DOS can not handle them (such as \\.psf\bradneuberg for example). 
     13rem 
     14rem This file will place all DOT configuration files in the root of C:, and 
     15rem will place the executables and source files into C:\dot 
     16rem   
     17rem @author Brad Neuberg, bkn3@columbia.edu 
     18rem 
     19rem 
     20rmdir c:\dot 
     21mkdir c:\dot 
    122rmdir c:\.offline-cache 
    223del c:\.offline-list 
    324mkdir c:\.offline-cache 
    4 copy dot.exe c:\ 
    5 copy config c:\ 
    6 copy offline-pac c:\offline-pac 
     25copy %WINDOWS_BUILD%\dot.exe c:\dot 
     26copy %WINDOWS_BUILD%\config c:\dot 
     27copy %WINDOWS_BUILD%\offline-pac c:\offline-pac 
    728move c:\offline-pac c:\.offline-pac 
     29copy %SOURCE_PATH%\*.c c:\dot 
     30copy %SOURCE_PATH%\*.h c:\dot 
    831