Camille B?gnis wrote:
> 
> Is this expected behavior?:

There is no bug here, just an unintuitive behavior which happens 
repeatedly because you seem to erase your user preferences 
(~/.xxe/preferences.properties) each time you install a new release of XXE.

Let's say that  I've installed XXE in /opt/xxe/ as user "root" and that 
as user "hussein", I'm not allowed to install add-ons in /opt/xxe/addon/.



> Whenever I install a new XXE (Linux), up to latest 3.7.0, the following
> happens:
> 
> - select addons to be installed and click OK
> - you get a mesage telling you have no sufficient rights.
> - retry just to make sure the same happens again

If you install add-ons containing some compiled code (e.g. the FOP 
plugin, WebDAV virtual drive plugin, etc), by default, XXE attempts to 
install it in /opt/xxe/addon/. This way, when you'll uninstall XXE, 
you'll also uninstall these add-ons.

Therefore, using default settings, there is no way to install certain 
add-ons in /opt/xxe/addon/.

You need to use Options|Preferences, "Install Add-on" section and select 
"Install add-ons in the user's preferences directory" instead of 
"Installation directory depends on the add-on" (default). See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#installAddonsOptions




> - go to preferences and check the addons install path is correct (your
> home dir), all is ok you don't change anything and just click OK

When you use Options|Preferences to display the Preferences dialog box 
at the "Install Add-on" section, the dialog box automatically selects 
for you the only possible choice which is "Install add-ons in the user's 
preferences directory" instead of the current, default one which is 
"Installation directory depends on the add-on". Yes, this is somewhat 
unintuitive.

Note that if you click "Cancel" instead of "OK", installing add-ons in 
/opt/xxe/addon/ still fails. That is, XXE has not automatically changed 
your preferences for you. You really need to confirm that all add-ons 
are to be installed in your user's preferences directory by clicking on 
"OK".



> - Addons install works.
> 

Yes, and if you don't erase your ~/.xxe/preferences.properties each time 
you reinstall XXE, this unintuitive behavior will no longer annoy you.


Reply via email to