[GME-commit]
GMESRC/Install/Build check.py,1.5,1.6 tools.py,1.20,1.21
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Apr 7 21:48:20 CDT 2005
- Previous message: [GME-commit]
GMESRC/Java/native JavaSupport.sln,NONE,1.1 JavaSupport.dsw,1.1,NONE
- Next message: [GME-commit]
GMESRC/Install Binary.idt,1.12,1.13 CustomAction.idt,1.14,1.15
File.idt,1.32,1.33 ISFeatureMergeModules.idt,1.3,1.4
ISMergeModule.idt,1.3,1.4 InstallExecuteSequence.idt,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/Install/Build
In directory escher:/tmp/cvs-serv5505/Install/Build
Modified Files:
check.py tools.py
Log Message:
GME CVS cleanup and updated VC7.1 release build scripts
CVS User: Peter Volgyesi, ISIS (volgy)
Index: tools.py
===================================================================
RCS file: /project/gme-repository/GMESRC/Install/Build/tools.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** tools.py 25 Aug 2004 20:37:46 -0000 1.20
--- tools.py 7 Apr 2005 20:48:18 -0000 1.21
***************
*** 36,40 ****
raise Exception, command + " failed. Exit code: %d" % (ret,)
! def buildMsDevProject( dsw_path, config_name ):
"""
Builds an msdev project
--- 36,40 ----
raise Exception, command + " failed. Exit code: %d" % (ret,)
! def buildVSProject( sln_path, project_name, config_name ):
"""
Builds an msdev project
***************
*** 43,65 ****
config_name : name of the configuration containing the project name (e.g.: "GME - Win32 Release")
"""
! print "Compiling " + config_name + "..."
! app = win32com.client.Dispatch("MSDev.Application")
! app.Visible = True
! app.Documents.Open( dsw_path )
! found = 0
! for proj in app.Projects:
! for conf in proj.Configurations:
! if conf.Name == config_name:
! app.Clean( conf )
! app.Build( conf )
! if app.Errors > 0:
! print "There are ", app.Errors, " errors."
! raise Exception, "Compile error"
! if app.Warnings > 0:
! print "There are ", app.Errors, " warnings."
! found = 1
! app.Quit()
! if found == 0:
! raise Exception, "\"" + config_name + "\" configuration not found in \"" + dsw_path + "\""
def xme2mga( xmlFile, mgaFile, paradigm ):
--- 43,58 ----
config_name : name of the configuration containing the project name (e.g.: "GME - Win32 Release")
"""
! print "Compiling " + project_name + "(" + config_name + ") ..."
! DTE = win32com.client.Dispatch("VisualStudio.DTE")
! # DTE.MainWindow.Visible = True
! DTE.Solution.Open( sln_path )
! sb = DTE.Solution.SolutionBuild
! sb.Clean(1)
! sb.BuildProject(config_name, project_name, 1)
! failed = sb.LastBuildInfo
! DTE.Quit()
!
! if failed > 0:
! raise Exception, "In solution " + sln_path + ": " + str(failed) + " project(s) failed to compile."
def xme2mga( xmlFile, mgaFile, paradigm ):
Index: check.py
===================================================================
RCS file: /project/gme-repository/GMESRC/Install/Build/check.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** check.py 3 Feb 2004 10:53:04 -0000 1.5
--- check.py 7 Apr 2005 20:48:18 -0000 1.6
***************
*** 14,21 ****
def checkVisualC():
try:
! print "Checking Visual C++"
! app = win32com.client.Dispatch("MSDev.Application")
except:
! print "Visual C++ is not installed!"
raise
--- 14,21 ----
def checkVisualC():
try:
! print "Checking Visual C++ 7.1"
! app = win32com.client.Dispatch("VisualStudio.DTE")
except:
! print "Visual C++ 7.1 is not installed!"
raise
- Previous message: [GME-commit]
GMESRC/Java/native JavaSupport.sln,NONE,1.1 JavaSupport.dsw,1.1,NONE
- Next message: [GME-commit]
GMESRC/Install Binary.idt,1.12,1.13 CustomAction.idt,1.14,1.15
File.idt,1.32,1.33 ISFeatureMergeModules.idt,1.3,1.4
ISMergeModule.idt,1.3,1.4 InstallExecuteSequence.idt,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list