[Vm-dev] vmFullPath answer (was: [Pharo-project] About Cocoa VMs)

Esteban Lorenzano estebanlm at gmail.com
Wed Jul 13 14:21:17 UTC 2011


can we reach an agreement on this?

Inicio del mensaje reenviado:

> De: Damien Pollet <damien.pollet at gmail.com>
> Fecha: 13 de julio de 2011 11:14:23 GMT-03:00
> Para: Pharo-project at lists.gforge.inria.fr
> Asunto: Re: [Pharo-project] About Cocoa VMs
> Responder a: Pharo-project at lists.gforge.inria.fr
> 
> On 13 July 2011 15:56, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>> what should answer?
> 
> Whatever, but the same on all VMs
> 
>> which version is broken? cocoa or regular?
> 
> Both, since they don't answer the same :)
> Regular replies a path to the binary so it looks better, but a path to
> the .app also makes sense on Mac.
> 
>> is there a cog ticket?
> 
> I don't know.
> 
>> no, there is no way to difference between carbon/cocoa/unix versions... and I don't think it should be (right solution is to make #vmFullPath return right answer, he). In fact, it should be only one version of vm "blessed", with time, we will reach that point :)
> 
> But #vmFullPath is not clear as a message name, and both different
> behaviours are useful in different use-cases.
> 
> I much prefer:
> - vmBinary (which we can use to invoke to run the VM from a shell)
> - vmDirectory (which is what the cocoa VM currently returns for
> vmFullPath, and should be == to vmFile parent)
> - vmFile (because we can't assume the name of the .app)
> 
> etc etc
> 
> -- 
> Damien Pollet
> type less, do more [ | ] http://people.untyped.org/damien.pollet
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110713/a7df6177/attachment.htm


More information about the Vm-dev mailing list