[Vm-dev] Mac OS - path and file name of the VM app

Michael Rueger m.rueger at acm.org
Wed Jul 9 21:29:31 UTC 2008

Robert Krahn wrote:
> Hi!
> I am trying to create a sar file which moves a .bundle directory into 
> the VM app. Let's assume that my SqueakVM is /Applications/SqueakVM.app. 
> Then I would have to move my bundle directory into 
> /Applications/SqueakVM.app/Contents/Resources/.
> I get the path to the vm app  with SmalltalkImage current vmPath. But 
> this only evaluates to /Applications/. How do I get the name of the app 
> directory?

Which is actually the correct behavior, as the .app is the vm as far as 
external appearance is concerned.
Did you try imagePath? You could also have a look at the Sophie File 
Locations package.


More information about the Vm-dev mailing list