Hi!
When I use the metacello browser, and therefore the toolbox, a development version is produced as: -=-=-=-=-=-=-=-=-=-=-=-= spec project: 'MemoryMonitor'; project: 'Merlin' with: '1.3'; project: 'Mondrian' with: '2.98'; project: 'HealthReportProducer' with: '1.7'. -=-=-=-=-=-=-=-=-=-=-=-= I have to manually add what is missing with the following line: -=-=-=-=-=-=-=-=-=-=-=-= project: 'MemoryMonitor' with: '1.0.4'; -=-=-=-=-=-=-=-=-=-=-=-= This seems to happen only with ConfigurationOfSpy. Any idea where this could come from? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Alexandre,
My guess would be that the MemoryMonitor project is not actually loaded, so Metacello doesn't know which version to use ... I think there is an existing bug for this, but if not it is worth submitting one... Dale ----- Original Message ----- > Hi! > > When I use the metacello browser, and therefore the toolbox, a > development version is produced as: > -=-=-=-=-=-=-=-=-=-=-=-= > spec > project: 'MemoryMonitor'; > project: 'Merlin' with: '1.3'; > project: 'Mondrian' with: '2.98'; > project: 'HealthReportProducer' with: '1.7'. > -=-=-=-=-=-=-=-=-=-=-=-= > > I have to manually add what is missing with the following line: > -=-=-=-=-=-=-=-=-=-=-=-= > project: 'MemoryMonitor' with: '1.0.4'; > -=-=-=-=-=-=-=-=-=-=-=-= > > This seems to happen only with ConfigurationOfSpy. > Any idea where this could come from? > > Alexandre > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > |
This is what I thought too. But MemoryMonitor is present. I can do:
ConfigurationOfMemoryMonitor project currentVersion => 1.0.4 [ConfigurationOfMemoryMonitor] Alexandre On 27 May 2011, at 15:14, Dale Henrichs wrote: > Alexandre, > > My guess would be that the MemoryMonitor project is not actually loaded, so Metacello doesn't know which version to use ... I think there is an existing bug for this, but if not it is worth submitting one... > > Dale > > ----- Original Message ----- >> Hi! >> >> When I use the metacello browser, and therefore the toolbox, a >> development version is produced as: >> -=-=-=-=-=-=-=-=-=-=-=-= >> spec >> project: 'MemoryMonitor'; >> project: 'Merlin' with: '1.3'; >> project: 'Mondrian' with: '2.98'; >> project: 'HealthReportProducer' with: '1.7'. >> -=-=-=-=-=-=-=-=-=-=-=-= >> >> I have to manually add what is missing with the following line: >> -=-=-=-=-=-=-=-=-=-=-=-= >> project: 'MemoryMonitor' with: '1.0.4'; >> -=-=-=-=-=-=-=-=-=-=-=-= >> >> This seems to happen only with ConfigurationOfSpy. >> Any idea where this could come from? >> >> Alexandre >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Putting a `self halt` in the spot where the empty version is stored would tell us a lot:
MetacelloToolBox>>updateVersionSpec:fullVersionSpec:updateProjects:updatePackages:visited:updated: There's a spot where the versionString: is set to '' ... that's the spot where I'd expect this to be happening ... either that or updateProjects is false ... Dale ----- Original Message ----- > This is what I thought too. But MemoryMonitor is present. I can do: > > ConfigurationOfMemoryMonitor project currentVersion > => 1.0.4 [ConfigurationOfMemoryMonitor] > > Alexandre > > > On 27 May 2011, at 15:14, Dale Henrichs wrote: > > > Alexandre, > > > > My guess would be that the MemoryMonitor project is not actually > > loaded, so Metacello doesn't know which version to use ... I think > > there is an existing bug for this, but if not it is worth > > submitting one... > > > > Dale > > > > ----- Original Message ----- > >> Hi! > >> > >> When I use the metacello browser, and therefore the toolbox, a > >> development version is produced as: > >> -=-=-=-=-=-=-=-=-=-=-=-= > >> spec > >> project: 'MemoryMonitor'; > >> project: 'Merlin' with: '1.3'; > >> project: 'Mondrian' with: '2.98'; > >> project: 'HealthReportProducer' with: '1.7'. > >> -=-=-=-=-=-=-=-=-=-=-=-= > >> > >> I have to manually add what is missing with the following line: > >> -=-=-=-=-=-=-=-=-=-=-=-= > >> project: 'MemoryMonitor' with: '1.0.4'; > >> -=-=-=-=-=-=-=-=-=-=-=-= > >> > >> This seems to happen only with ConfigurationOfSpy. > >> Any idea where this could come from? > >> > >> Alexandre > >> > >> -- > >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > >> Alexandre Bergel http://www.bergel.eu > >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > >> > >> > >> > >> > >> > >> > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > |
I have a MetacelloMCProjectSpec that prints:
spec name: 'MemoryMonitor'; className: 'ConfigurationOfMemoryMonitor'; loads: #('default' ); repository: 'http://www.squeaksource.com/MemoryMonitor'. Sending versionString to it return nil. Tracing the method you recommended helps me. I will add a version: 'default' or something then. Thanks. I think I spotted the problem. Cheers, Alexandre On 27 May 2011, at 17:19, Dale Henrichs wrote: > Putting a `self halt` in the spot where the empty version is stored would tell us a lot: > > MetacelloToolBox>>updateVersionSpec:fullVersionSpec:updateProjects:updatePackages:visited:updated: > > There's a spot where the versionString: is set to '' ... that's the spot where I'd expect this to be happening ... either that or updateProjects is false ... > > Dale > > ----- Original Message ----- >> This is what I thought too. But MemoryMonitor is present. I can do: >> >> ConfigurationOfMemoryMonitor project currentVersion >> => 1.0.4 [ConfigurationOfMemoryMonitor] >> >> Alexandre >> >> >> On 27 May 2011, at 15:14, Dale Henrichs wrote: >> >>> Alexandre, >>> >>> My guess would be that the MemoryMonitor project is not actually >>> loaded, so Metacello doesn't know which version to use ... I think >>> there is an existing bug for this, but if not it is worth >>> submitting one... >>> >>> Dale >>> >>> ----- Original Message ----- >>>> Hi! >>>> >>>> When I use the metacello browser, and therefore the toolbox, a >>>> development version is produced as: >>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>> spec >>>> project: 'MemoryMonitor'; >>>> project: 'Merlin' with: '1.3'; >>>> project: 'Mondrian' with: '2.98'; >>>> project: 'HealthReportProducer' with: '1.7'. >>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>> >>>> I have to manually add what is missing with the following line: >>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>> project: 'MemoryMonitor' with: '1.0.4'; >>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>> >>>> This seems to happen only with ConfigurationOfSpy. >>>> Any idea where this could come from? >>>> >>>> Alexandre >>>> >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>> >>>> >>>> >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Free forum by Nabble | Edit this page |