Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Adding content to an extradir - Controlling the help index
Adding content to an extradir - Controlling the help index [message #475258] Wed, 18 March 2009 13:23 Go to next message
Edoardo Comar is currently offline Edoardo Comar
Messages: 102
Registered: July 2009
Senior Member
If I 'dump' more documents inside an 'extradir'
directory of a help plugin,
they are not indexed unless I delete the index directory and restart
eclipse.

Is there a less brutal way of controlling the index, ie only force it to
be recreated for the extradir content ?
Re: Adding content to an extradir - Controlling the help index [message #475260 is a reply to message #475258] Wed, 18 March 2009 14:01 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Yes, you can increment the version number of the plugin.

Edoardo Comar wrote:
> If I 'dump' more documents inside an 'extradir'
> directory of a help plugin,
> they are not indexed unless I delete the index directory and restart
> eclipse.
>
> Is there a less brutal way of controlling the index, ie only force it to
> be recreated for the extradir content ?
Re: Adding content to an extradir - Controlling the help index [message #475417 is a reply to message #475260] Thu, 19 March 2009 06:56 Go to previous message
Edoardo Comar is currently offline Edoardo Comar
Messages: 102
Registered: July 2009
Senior Member
Thanks Chris,
but my idea was to leave the same plugin installed but having users dump
stuff in the extradir - and having the index recreated

can you please point me at the code that would do the trick of updating
the index by discarding the old extradir an adding the new one without
restaing the platform ?

I'd also be happy at writing code that process a given dir like it was
an extradir without it being limited to be a subdir of a help plugin.



Chris Goldthorpe wrote:
> Yes, you can increment the version number of the plugin.
>
> Edoardo Comar wrote:
>> If I 'dump' more documents inside an 'extradir'
>> directory of a help plugin,
>> they are not indexed unless I delete the index directory and restart
>> eclipse.
>>
>> Is there a less brutal way of controlling the index, ie only force it
>> to be recreated for the extradir content ?
Re: Adding content to an extradir - Controlling the help index [message #623255 is a reply to message #475258] Wed, 18 March 2009 14:01 Go to previous message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Yes, you can increment the version number of the plugin.

Edoardo Comar wrote:
> If I 'dump' more documents inside an 'extradir'
> directory of a help plugin,
> they are not indexed unless I delete the index directory and restart
> eclipse.
>
> Is there a less brutal way of controlling the index, ie only force it to
> be recreated for the extradir content ?
Re: Adding content to an extradir - Controlling the help index [message #623257 is a reply to message #475260] Thu, 19 March 2009 06:56 Go to previous message
Edoardo Comar is currently offline Edoardo Comar
Messages: 102
Registered: July 2009
Senior Member
Thanks Chris,
but my idea was to leave the same plugin installed but having users dump
stuff in the extradir - and having the index recreated

can you please point me at the code that would do the trick of updating
the index by discarding the old extradir an adding the new one without
restaing the platform ?

I'd also be happy at writing code that process a given dir like it was
an extradir without it being limited to be a subdir of a help plugin.



Chris Goldthorpe wrote:
> Yes, you can increment the version number of the plugin.
>
> Edoardo Comar wrote:
>> If I 'dump' more documents inside an 'extradir'
>> directory of a help plugin,
>> they are not indexed unless I delete the index directory and restart
>> eclipse.
>>
>> Is there a less brutal way of controlling the index, ie only force it
>> to be recreated for the extradir content ?
Previous Topic:Minimize of "Welcome Page" leads to a perspective without a toolbar
Next Topic:Minimize of "Welcome Page" leads to a perspective without a toolbar
Goto Forum:
  


Current Time: Wed Jul 30 19:21:35 EDT 2014

Powered by FUDForum. Page generated in 0.01537 seconds