Argh. This is the second instance where I've run into a wall regarding user preferences. (The first time, I was wondering whether you could deliver a standard preference file as part of a deployment.) Can you guys please consider making user preference paths/files more configurable?
I see several features that XXE "administrators" need: * The ability to define and deliver a standard set of user preferences for a deployment. Upon the first running of XXE (no user prefs file exists), this "master" prefs file would be used as a template. * The ability to reset master preferences on each startup. This is supported via the -putpref option, but only one key at a time. It would be nice to be able to point to a master preferences file instead. * The ability to use different user pref paths with different xxe_gui files. The ability to show custom gui views of your app is awesome, but some user preferences may be incompatible for different gui views. (In particular, I'm thinking of the Tree View, Unique Instance, and CSS default options.) Either make the user prefs path an element in the gui spec, or allow for user pref path to be passed as an environment variable, just as XXE_GUI can be passed. The path could either specify a different filename or subdirectory below the current prefs file location. I really think these features are crucial to making XXE deployable and manageable across a large organization. Thanks, Mark -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Monday, July 10, 2006 1:08 AM To: Mark Fletcher Cc: xmleditor-support at xmlmind.com Subject: Re: [XXE] RE: cmd line questions Mark Fletcher wrote: > Well, I've answered my own questions. > > I'm successfully using this path for XXE_GUI: > > set XXE_GUI="../addon/config/dita/rfp.xxe_gui" By doing that, you have supressed whitespaces found in the original filename of rfp.xxe_gui: --- set XXE_GUI="C:/Program Files/XMLmind_XML_Editor/addon/config/dita/rfp.xxe_gui" --- I think that the problem comes in fact from your command line. It should be: --- start javaw -Xss1m -Xmx128m -DXXE_GUI="%XXE_GUI%" -DXXE_ADDON_PATH="%XXE_ADDON_PATH%" -classpath "%cp%" com.xmlmind.xmleditapp.start.Start %* --- Notice the *quotes* around %XXE_GUI%. > Also, I now see that I can append -putref <key> <value> at the end of > the cmd line. But, this does lead to some more questions: > > If I use this batch file, any -putpref options will be set permanently > in the users preferences file, right? This is not good, as I just want > these changes in effect when the simple gui interface is used. Is > there a way to change the user prefs directory in the command line? No. > If not, what are my options? I'm sorry but I don't see how you could do that with XXE alone. (Well, there is always the possibility to write imaginative .bat scripts.)

