Jeremy Quinn wrote:
> I have just upgraded to XXE (SE) 2.4 on MacOSX and can no longer get my 
> configurations loaded via HTTP.
> 
> I have tried the following :
> 
> I added this to my ~/.tcshrc file:
> 
>     setenv XXE_CONFIG @http://iborg.local/xxe/config/iniva/iniva.xxe
> or   
>     setenv XXE_CONFIG @http://iborg.local/xxe/config.list
> 
> Alternatively, I added this to the info.plist of the .app package:
> 
>     <dict>
>         <key>XXE_CONFIG</key>
>         <string>@http://iborg.local/xxe/config/iniva/iniva.xxe</string>
>     </dict>
> or
>     <dict>
>         <key>XXE_CONFIG</key>
>         <string>@http://iborg.local/xxe/config.list</string>
>     </dict>
> 
> In both cases, the server does not actually get hit by XXE.

I've tested shared configurations using the XXE_CONFIG environment 
variable mechanism on both MacOSX and Windows 2000 (I was too lazy to 
reboot my machine to test this using XP) and it works.

Here's what I did on Mac:

[1] I created this list file, config.list:
---
config/docbook/docbook.xxe
config/sdocbook/sdocbook.xxe
config/slides/slides.xxe
config/xhtml/xhtml.xxe
---

My apache web server is configured in order to access this file using 
URL http://lupo.pixware.fr/xxe/config.list

[2] I added these 2 lines to my ~/.profile (I don't use tcsh):
---
xxe_conf...@http://lupo.pixware.fr/xxe/config.list
export XXE_CONFIG
---

[3] I logged out and then I logged in.

[4] I started XXE by double clicking on its icon and it didn't work.

[5] I opened a Terminal window, made sure that "echo $XXE_CONFIG" prints 
@http://lupo.pixware.fr/xxe/config.list and then run "open -a XMLEditor" 
and from the Terminal, it worked (right-click on the status bar to see 
loaded configs).

[6] I used google to locate this: "Setting environment variables for 
user processes". See http://developer.apple.com/qa/qa2001/qa1067.html

[7] I removed the 2 lines from may ~/.profile. I created 
~/.MacOSX/environment.plist (see attachment)

---
<?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_CONFIG</key>
     <string>@http://194.98.36.87/xxe/config.list</string>
   </dict>
</plist>
---

[8] I logged out and then I logged in.

[9] I started XXE by double clicking on its icon and this time, it worked.



> I am having the same problems setting up config sharing on Windows XP as I am 
> on MacOSX.
> 
> I have tried adding the following to C:\WINDOWS\system32\AUTOEXEC.NT
> 
>     SET xxe_conf...@http://iborg.local/xxe/config.list
> or
>     SET xxe_conf...@http://iborg.local/xxe/config/iniva/iniva.xxe
> 
> After restarting, XXE does not find the config. 

I know nothing about AUTOEXEC.NT. Here's what I did on Windows 2000:

[1] I added this line to C:\autoexec.bat
---
set xxe_conf...@http://lupo.pixware.fr/xxe/config.list
---

[2] I logged out and then I logged in.

[3] I started XXE using the launcher of the Start menu and it worked. 
Right-clicking on the status bar showed that XXE got its configurations 
from http://lupo.pixware.fr/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: environment.plist
Url: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030903/1609e6d5/attachment.bat
 

Reply via email to