ConfigurationOf.st
author jv
Mon, 03 Sep 2012 11:13:41 +0000
changeset 1 9e312de5f694
child 8 e046a5b3427f
permissions -rw-r--r--
- Initial commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     1
"{ Package: 'stx:goodies/metacello' }"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     2
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     3
Object subclass:#ConfigurationOf
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     4
	instanceVariableNames:'project'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     5
	classVariableNames:''
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     6
	poolDictionaries:''
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     7
	category:'Metacello-Base'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     8
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     9
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    10
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    11
!ConfigurationOf class methodsFor:'accessing'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    12
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    13
project
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    14
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    15
	^self new project
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    16
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    17
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    18
validate
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    19
	"Check the configuration for Errors, Critical Warnings, and Warnings (see class comment for MetacelloMCVersionValidator for more information). 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    20
	Errors identify specification issues that will result in unexpected behaviour when you load the configuration. 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    21
	Critical Warnings identify specification issues that may result in unexpected behavior when you load the configuration.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    22
	Warnings identify specification issues that are technically correct, but are worth take a look at."
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    23
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    24
	"self validate"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    25
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    26
	<apiDocumentation>
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    27
	self ensureMetacello.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    28
	^ ((Smalltalk at: #MetacelloToolBox) validateConfiguration: self debug: #() recurse: false) explore
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    29
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    30
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    31
!ConfigurationOf class methodsFor:'private'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    32
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    33
bootstrapMetacelloFrom: repositoryUrl
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    34
    "Corresponds to version 1.0-beta.32.2"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    35
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    36
    "KEEP MetacelloConfigTemplate class>>ensureMetacelloBaseConfiguration in synch!!"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    37
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    38
    | platformPkg |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    39
    self ensureGoferVersion: 'Gofer-Core-lr.115' repositoryUrl: repositoryUrl.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    40
    #('Metacello-Base-dkh.96' 'Metacello-Core-dkh.664' 'Metacello-MC-dkh.656')
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    41
        do: [ :pkg | self bootstrapPackage: pkg from: repositoryUrl ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    42
    platformPkg := Smalltalk
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    43
        at: #'SystemVersion'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    44
        ifPresent: [ :cl | 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    45
            | versionString |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    46
            versionString := cl current version.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    47
            (versionString beginsWith: 'Squeak')
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    48
                ifTrue: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    49
                    (versionString beginsWith: 'Squeak3')
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    50
                        ifTrue: [ 'Metacello-Platform.squeak-dkh.5' ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    51
                        ifFalse: [ 'Metacello-Platform.squeak-dkh.13' ] ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    52
                ifFalse: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    53
                    (versionString beginsWith: 'Pharo')
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    54
                        ifTrue: [ 'Metacello-Platform.pharo-dkh.27' ] ] ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    55
    self bootstrapPackage: platformPkg from: repositoryUrl
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    56
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    57
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    58
bootstrapPackage: aString from: aPath 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    59
	| repository version |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    60
	repository := (MCCacheRepository default includesVersionNamed: aString)
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    61
		ifTrue: [MCCacheRepository default]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    62
		ifFalse: [MCHttpRepository
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    63
				location: aPath
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    64
				user: ''
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    65
				password: ''].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    66
	repository
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    67
		versionReaderForFileNamed: aString , '.mcz'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    68
		do: [:reader | 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    69
			version := reader version.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    70
			version load.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    71
			version workingCopy repositoryGroup addRepository: repository]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    72
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    73
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    74
ensureGoferVersion: goferVersion repositoryUrl: repositoryUrl
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    75
    "load the p=file goferVersion if Gofer isn't loaded or an earlier version of Gofer is currently loaded"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    76
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    77
    | goferVersionNumber wc pName |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    78
    (Smalltalk at: #'Gofer' ifAbsent: [  ]) == nil
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    79
        ifTrue: [ ^ self bootstrapPackage: goferVersion from: repositoryUrl ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    80
    goferVersionNumber := (goferVersion copyAfterLast: $.) asNumber.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    81
    wc := [ ((Smalltalk at: #'GoferPackageReference') name: 'Gofer') workingCopy ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    82
        on: Error
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    83
        do: [ :ex | ex return: ((Smalltalk at: #'GoferPackageReference') name: 'Gofer-Core') workingCopy ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    84
    pName := wc ancestry ancestors first name.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    85
    (pName copyAfterLast: $.) asNumber <= goferVersionNumber
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    86
        ifTrue: [ self bootstrapPackage: goferVersion from: repositoryUrl ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    87
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    88
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    89
ensureMetacello
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    90
    "Bootstrap Metacello and load the 'botstrap' group"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    91
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    92
    self ensureMetacello: #('batch')
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    93
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    94
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    95
ensureMetacello: loadList
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    96
    "Bootstrap Metacello, retry using alternate repository, if primary repository is not accessible"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    97
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    98
    Smalltalk
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    99
        at: #'MetacelloProject'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   100
        ifAbsent: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   101
            | retry version error gofer |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   102
            retry := false.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   103
            (Array with: 'http://seaside.gemstone.com/ss/metacello' with: 'http://www.squeaksource.com/metacello')
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   104
                do: [ :repositoryUrl | 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   105
                    [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   106
                    "bootstrap Metacello"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   107
                    self bootstrapMetacelloFrom: repositoryUrl.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   108
                    Smalltalk
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   109
                        at: #'ConfigurationOfMetacello'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   110
                        ifAbsent: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   111
                            gofer := (Smalltalk at: #'Gofer') new.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   112
                            gofer
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   113
                                perform: #'url:' with: repositoryUrl;
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   114
                                perform: #'package:' with: 'ConfigurationOfMetacello';
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   115
                                perform: #'load' ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   116
                    version := (Smalltalk at: #'ConfigurationOfMetacello') project version: '1.0-beta.32'.	"bootstrap with 1.0-beta.32"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   117
                    retry
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   118
                        ifTrue: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   119
                            "on retry, use #repositoryOverrides:"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   120
                            version
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   121
                                repositoryOverrides:
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   122
                                    (Array with: (MCHttpRepository location: repositoryUrl user: '' password: '')) ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   123
                    version load: loadList.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   124
                    gofer := (Smalltalk at: #'Gofer') new.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   125
                    Smalltalk
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   126
                        at: #'ConfigurationOfMetacelloPreview'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   127
                        ifAbsent: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   128
                            gofer
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   129
                                perform: #'url:' with: repositoryUrl;
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   130
                                perform: #'package:' with: 'ConfigurationOfMetacelloPreview';
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   131
                                perform: #'load' ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   132
                    version := (Smalltalk at: #'ConfigurationOfMetacelloPreview') project version: '1.0.0-beta.32.2'.	"load latest from GitHub"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   133
                    version load: loadList.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   134
                    ^ self ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   135
                        on: Error
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   136
                        do: [ :ex | 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   137
                            error := ex.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   138
                            Transcript
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   139
                                cr;
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   140
                                show: 'failed ensureMetacello: ';
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   141
                                show: ex description printString;
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   142
                                show: '...retrying'.	"try again"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   143
                            retry := true.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   144
                            ex return: nil ] ].	"shouldn't get here unless the load failed ... throw an error"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   145
            self error: 'retry with alternate repository failed: ' , error description printString ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   146
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   147
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   148
!ConfigurationOf class methodsFor:'unloading Metacello'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   149
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   150
unloadMetacello
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   151
	"Unload the classes that implement Metacello. Metacello is not needed once a project has been loaded, so it can safely be unloaded."
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   152
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   153
	"self unloadMetacello"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   154
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   155
	<apiDocumentation>
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   156
	| gofer |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   157
	gofer := (Smalltalk at: #Gofer) new.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   158
	MCWorkingCopy allManagers do: [:wc |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   159
		((wc packageName beginsWith: 'Metacello') or: [ wc packageName beginsWith: 'OB-Metacello' ])
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   160
			ifTrue: [ gofer package: wc packageName ]].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   161
	gofer unload.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   162
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   163
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   164
!ConfigurationOf methodsFor:'accessing'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   165
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   166
customProjectAttributes
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   167
    "Edit to return a collection of any custom attributes e.g. for conditional loading: Array with: #'Condition1' with: #'Condition2.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   168
	For more information see: http://code.google.com/p/metacello/wiki/CustomProjectAttrributes "
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   169
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   170
    ^ #()
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   171
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   172
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   173
project
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   174
    ^ project
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   175
        ifNil: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   176
            "Bootstrap Metacello if it is not already loaded"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   177
            self class ensureMetacello.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   178
            project := self projectClass new projectAttributes: self customProjectAttributes.	"Create the Metacello project"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   179
            project versionNumberClass: self versionNumberClass.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   180
            project class versionConstructorClass on: self project: project.	"Construct the project"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   181
            project loadType: #'linear'.	"change to #atomic if desired"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   182
            project ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   183
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   184
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   185
project: aProject
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   186
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   187
	project ifNil: [ self class ensureMetacello ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   188
	project := aProject
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   189
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   190
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   191
projectClass
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   192
    ^ MetacelloMCProject
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   193
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   194
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   195
versionNumberClass
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   196
    ^ MetacelloSemanticVersionNumber
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   197
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   198
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   199
!ConfigurationOf methodsFor:'defaults'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   200
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   201
bleedingEdge 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   202
	"override if different behavior desired.
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   203
	 Use:
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   204
		self versionDoesNotExistError: #bleedingEdge
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   205
	 if #bleedingEdge version is disallowed."
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   206
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   207
	<defaultSymbolicVersion: #bleedingEdge>
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   208
	
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   209
	^self defaultBleedingEdgeVersion
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   210
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   211
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   212
defaultBleedingEdgeVersion
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   213
	| bleedingEdgeVersion |
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   214
	bleedingEdgeVersion := (self project map values select: [ :version | version blessing == #baseline ])
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   215
		detectMax: [ :version | version ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   216
	bleedingEdgeVersion ifNil: [ ^#'notDefined' ].
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   217
	^ bleedingEdgeVersion versionString
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   218
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   219
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   220
!ConfigurationOf methodsFor:'private'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   221
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   222
versionDoesNotExistError: versionStringOrSymbol
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   223
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   224
	((Smalltalk at: #MetacelloSymbolicVersionDoesNotExistError) project: self project versionString: versionStringOrSymbol) signal
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   225
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   226
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   227
!ConfigurationOf class methodsFor:'documentation'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   228
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   229
version_SVN
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   230
    ^ '$Id::                                                                                                                        $'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
   231
! !