Changeset 1756
- Timestamp:
- 11/09/08 15:56:44 (2 months ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/InstallFromWorkspace.cobra (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/InstallFromWorkspace.cobra
r1755 r1756 285 285 assert 'Usage' in output 286 286 287 def locateGacUtil 288 .startStage('Locate gacutil.exe')287 def locateGacUtil(startStage as bool) 288 if startStage, .startStage('Locate gacutil.exe') 289 289 slash = .slash 290 290 gacutil = 'gacutil' … … 382 382 def installCobraLibraryToGAC 383 383 .startStage('Install Cobra standard library to the GAC') 384 if false 385 # use gacutil.exe 384 print 'Invoking Publish.GacInstall...' 385 try 386 Publish().gacInstall('Cobra.Lang.dll') 387 print 'Done.' 388 catch NotImplementedException 389 print 'Not implemented exception.' 390 print 'Will attempt to use gacutil.exe.' 391 .locateGacUtil(false) 386 392 .runCommand(_gacutil, '-i Cobra.Lang.dll -f') 387 388 393 output = .runCommand(_gacutil, '-l Cobra.Lang') 389 390 394 if 'Cobra.Lang, Version=' not in output 391 395 .error('Cannot see Cobra.Lang in the gacutil output to list it above.') 392 396 # TODO: verify the version number: Cobra.Lang, Version=0.0.1.0 393 else394 print 'Invoking Publish.GacInstall...'395 Publish().gacInstall('Cobra.Lang.dll')396 print 'Done.'397 397 print 398 398
