Only in the case that people want to shoot their own feet, do I
recommend using spotlight plugin in some other place than
/Library/Spotlight    (system folder).

This problem manifests as soon as people use e.g. X11 and Aqua OOo
side by side, or several versions or developers working on several
builds. Or install new versions, while being unsuccessful in removing
completely the older versions.

While places mentioned by Ryan are possible, they require that we make
sure that only one instance of the plugin exist in all of the File
System. This would mean that we'd have to do full filesystem scan
whenever we copy OOo (or the plugin) to somewhere (Spotlight needs to
be notified, via script, the location of the plugin, and refresh the
server, for the search to work properly).

Apple documents say that having two of the same plugin instances in
the file system causes unspecified behaviour and may cause the
spotlight to stop functioning normally.

It is already hard for some users to install OOo properly. Trying to
instruct them to not to break their search system is a lost cause (if
we do not install it to the /Library/Spotlight).

      Mox

On 6/18/07, Ryan Lovett <[EMAIL PROTECTED]> wrote:
On Mon, Jun 18, 2007 at 06:10:31PM +0200, Ismael wrote:
> BUT, we can use .pkg to install extra-features for OOo, like the spotlight
> plugin which needs root rights to be installed, i.e. the user drag'n drops
> OOo.app, and if he wants extra plugins (e.g. spotlight plugin), he installs
> the .pkg

You can also install in ~/Library/Spotlight/ which doesn't require admin
privileges, (http://developer.apple.com/macosx/spotlight.html) though the
plugin would only be available to the installing user of course. You could
ask whether the user wants the plugin to be available for everyone, but
then you're back to the .pkg method. Also, from the link above:

  You can also include importers in an application's bundle in the
  Contents/Library/Spotlight subdirectory. This allows you to provide a
  drag-and-drop installation for your application and still provide
  Spotlight functionality for the application's document types.


Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to