Changeset 1755
- Timestamp:
- 11/09/08 15:47:18 (2 months ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/InstallFromWorkspace.cobra (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/InstallFromWorkspace.cobra
r1715 r1755 1 1 """ 2 2 InstallFromWorkspace.cobra 3 4 WARNING: Not tested on Mono or on Mac/Linux/Unix yet.5 3 6 4 This program installs Cobra onto your system out of the workspace. It's a great … … 68 66 TODO 69 67 70 [ ] Test on Mac / Mono 2.071 72 68 [ ] Create an install log 73 69 … … 78 74 use System.Diagnostics 79 75 use System.Text.RegularExpressions 76 77 # for GAC installation 78 use System.EnterpriseServices 79 use System.EnterpriseServices.Internal 80 80 81 81 … … 104 104 .verifyInWorkspace 105 105 .locateSnapshotCompiler 106 .locateGacUtil106 # .locateGacUtil 107 107 .buildCobraCompiler 108 108 .getBaseVersion … … 382 382 def installCobraLibraryToGAC 383 383 .startStage('Install Cobra standard library to the GAC') 384 385 # TODO: is there a better way to install to the GAC than running the external gacutil program? 386 # TODO: if not, what's the most robust way to locate it in the file system? 387 388 .runCommand(_gacutil, '-i Cobra.Lang.dll -f') 389 390 output = .runCommand(_gacutil, '-l Cobra.Lang') 391 392 if 'Cobra.Lang, Version=' not in output 393 .error('Cannot see Cobra.Lang in the gacutil output to list it above.') 394 # TODO: verify the version number: Cobra.Lang, Version=0.0.1.0 395 384 if false 385 # use gacutil.exe 386 .runCommand(_gacutil, '-i Cobra.Lang.dll -f') 387 388 output = .runCommand(_gacutil, '-l Cobra.Lang') 389 390 if 'Cobra.Lang, Version=' not in output 391 .error('Cannot see Cobra.Lang in the gacutil output to list it above.') 392 # TODO: verify the version number: Cobra.Lang, Version=0.0.1.0 393 else 394 print 'Invoking Publish.GacInstall...' 395 Publish().gacInstall('Cobra.Lang.dll') 396 print 'Done.' 396 397 print 397 398
