[commit] r1176 - in trunk/Install: . Build
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Mon Feb 14 10:43:06 CST 2011
Author: ksmyth
Date: Mon Feb 14 10:43:04 2011
New Revision: 1176
Log:
Embed source server info in pdbs (based on https://svn.isis.vanderbilt.edu/isis-common/trunk/common-scripts/hudson_archive_pdbs.cmd )
Added:
trunk/Install/srcsrv.ini (contents, props changed)
trunk/Install/symbols_source_server.cmd (contents, props changed)
Modified:
trunk/Install/Build/build.py
Modified: trunk/Install/Build/build.py
==============================================================================
--- trunk/Install/Build/build.py Mon Feb 14 10:28:59 2011 (r1175)
+++ trunk/Install/Build/build.py Mon Feb 14 10:43:04 2011 (r1176)
@@ -214,6 +214,7 @@
def zip_pdb():
"Collect and zip all debug information (*.pdb)"
+ tools.system(r"call install\symbols_source_server.cmd <NUL".split(), GME_ROOT)
zipname = os.path.join(GME_ROOT, "Install", "GME-" + prefs['version_string'] + "-symbols.zip")
tools.collect_and_zip(GME_ROOT, zipname, "*.pdb *.dll *.exe *.ocx")
pass
Added: trunk/Install/srcsrv.ini
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/Install/srcsrv.ini Mon Feb 14 10:43:04 2011 (r1176)
@@ -0,0 +1,28 @@
+;
+; srcsrv.ini
+;
+; Use at build time:
+;
+; Install Debugging Tools for Windows
+; "c:\Program Files\Debugging Tools for Windows (x64)"\srcsrv\svnindex.cmd /debug /Ini=%CD%\common-scripts\srcsrv.ini /source="%CD%" /symbols="%CD%\bin"
+; "c:\Program Files\Debugging Tools for Windows (x64)"\symstore add /r /f "%CD%" /s \\kms1\symbolstmp /t GReAT /v "tmp1"
+; see also common-scripts/hudson_archive_pdbs.cmd
+
+; Use at debug time:
+; Install Debugging Tools for Windows
+; Copy this file to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
+; Enable source server: Tools>Options>Debugging>General>Enable source server support
+; (Optional) Change C:\Program Files\Debugging Tools for Windows (x64)\srcsrv svn.pm line
+; "SVN_EXTRACT_CMD=cmd /c svn.exe cat ".
+; to
+; "SVN_EXTRACT_CMD=svn.exe cat ".
+
+[variables]
+ISIS=https://svn.isis.vanderbilt.edu
+
+[trusted commands]
+svn.exe
+
+[server errors]
+perforce=var2,Connect to server failed;
+vss=var3,there was an error processing this file
Added: trunk/Install/symbols_source_server.cmd
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/Install/symbols_source_server.cmd Mon Feb 14 10:43:04 2011 (r1176)
@@ -0,0 +1,6 @@
+set DBGTOOLS=%ProgramFiles%\Debugging Tools for Windows (x86)
+IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" set DBGTOOLS=%ProgramFiles%\Debugging Tools for Windows (x64)
+IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" set DBGTOOLS=%ProgramW6432%\Debugging Tools for Windows (x64)
+
+call "%DBGTOOLS%\srcsrv\svnindex.cmd" /debug /Ini="%~dp0srcsrv.ini" /source="%GME_ROOT%" /symbols="%GME_ROOT%"
+IF %ERRORLEVEL% NEQ 0 exit /b
More information about the gme-commit
mailing list