On 13 July 2011 15:56, Esteban Lorenzano <[email protected]> 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

Reply via email to