Hussein,

Thanks for your reply. The workaround you proposed does not seem to work,
however.

Having made the recommended tweak to my Info.plist file, I launched XMLMind
XML Editor and the custom configuration was still not loaded. Again,
right-clicking the status bar displayed no evidence that the XXE_ADDON_PATH
property had taken effect.

--
Kevin Yank
Technical Director, SitePoint Pty. Ltd.

> -----Original Message-----
> From: Hussein Shafie [mailto:hussein at xmlmind.com]
> Sent: Monday, 21 May 2007 9:28 PM
> To: Kevin Yank
> Cc: xmleditor-support at xmlmind.com
> Subject: Re: Setting XXE_ADDON_PATH on Mac OS X
> 
> Kevin Yank wrote:
> > Hi there,
> >
> >
> >
> > I'm attempting to deploy XMLMind XML Editor 3.6 Professional on a Mac
> > for the first time.
> >
> >
> >
> > We have a customized DocBook XML configuration that we use by setting
> > the XXE_ADDON_PATH property to an absolute URL on our Windows
> workstations.
> >
> >
> >
> > In an attempt to set up the same configuration on my Mac OS X
> computer,
> > I have created a directory called .MacOSX in my user home directory,
> and
> > created in that directory a file named environment.plist, with the
> > following contents:
> >
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
> >
> >     "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
> >
> > <plist version="1.0">
> >
> >   <dict>
> >
> >     <key>XXE_ADDON_PATH</key>
> >
> >
> >
> <string>@http://www.sitepoint.com/books/xxe_config/configs.list;+</stri
> ng>
> >
> >   </dict>
> >
> > </plist>
> >
> >
> >
> > I have further confirmed that this variable is being applied to the
> > system by opening Terminal and typing the 'set' command, which lists
> > active environment variables, including XXE_ADDON_PATH.
> >
> >
> >
> > Unfortunately, the XXE_ADDON_PATH variable specified therein is not
> > being used by XMLMind XML Editor when I launch it, and it is not
> listed
> > when I right-click on the status bar after the program has started
> up.
> >
> >
> >
> > Can you provide any advice on how I might get this working?
> 
> I'm affraid this cannot work due to a limitation of Apple's Java[tm]
> launcher on the Mac.
> 
> There is no way to specify in XXE's Info.plist (see attachment): ``Java
> property XXE_ADDON_PATH is equals to the value of environment variable
> XXE_ADDON_PATH, if any''.
> 
> The workaround is obvious but horrible: open the Info.plist file found
> deep inside the XMLEditor.app bundle and using a text editor add the
> following key/string elements:
> 
> ---
> <key>Properties</key>
> <dict>
> 
>         ...
> 
> <key>XXE_ADDON_PATH</key>
> <string>@http://www.sitepoint.com/books/xxe_config/configs.list;+</stri
> ng>
> 
>        ...
> 
> </dict>
> ---


Reply via email to