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;+</string>
>
> </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;+</string>
...
</dict>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Info.plist
Type: text/xml
Size: 3718 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070521/192562e5/attachment.xml