Mozart application bundle for MacOs X
Gustavo Gutierrez
ggutierrez at atlas.puj.edu.co
Thu Sep 20 02:08:15 CEST 2007
On 9/19/07, Gustavo Gutierrez <ggutierrez at atlas.puj.edu.co> wrote:
> On 9/19/07, Torsten Anders <torsten.anders at plymouth.ac.uk> wrote:
> >When I start your Mozart.app, OZHOME is still set to the old value.
> It starts the mozart found at "/usr/local/oz/" and running {OS.getEnv
> 'OZHOME'} within the OPI started by your Mozart.app returns also
> "/usr/local/oz/".
I did the following:
*) Install one mozart distribution in /Users/ggutierrez/othemoz
*) Open a shell and export the path to point to this mozart
distribution: export PATH=$PATH:/Users/ggutierrez/othermoz/bin and
export the OZHOME variable to be /Users/ggutierrez/othermoz/
*) copy the bundle to the Desktop
*) from the same shell with the new exported path call the mozart
bundle: open ~/Desktop/Mozart.app
*) the i run {OS.getEnv 'OZHOME'} the result was:
"/Users/ggutierrez/Desktop/Mozart.app/Contents/Resources/"
For me it seems to be working fine, it is, even with an exported old
variable OZHOME to the other mozart distribution the call in the
bundle distribution resulted in the expected result: the mozart inside
the bundle. Maybe i should try with a darwinports (macports now)
installation.
>
> I cannot duplicate the behavior you are describing. In my case, when i
> call {OS.getEnv 'OZHOME'} the result is /Users/ggutierrez/Work/moz ,
> which is the install directory i used as the prefix parameter. Of
> course this is also wrong, i will take a deep look and come back with
> an answer.
Just to be clear, in my previous response i forgot to remove the
.emacs configuration file. Having a .emacs file mess up all since this
file is evaluated after the launch and this causes the "default" call
values to be overridden.
See http://cic.puj.edu.co/~ggutierrez/sc.png for an screenshot.
Cheers,
--
Gustavo Gutierrez
More information about the mozart-hackers
mailing list