Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369982 - Add pre-built index for user documentation
Summary: Add pre-built index for user documentation
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement
Target Milestone: 1.3M1   Edit
Assignee: Marc-André Laperle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 366319
Blocks:
  Show dependency tree
 
Reported: 2012-01-27 12:57 EST by Marc-André Laperle CLA
Modified: 2014-10-08 08:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2012-01-27 12:57:55 EST
The documentation can be pre-indexed to speed up the first search in Help

See:

http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.isv/guide/ua_help_setup_preindex.htm

To do this using Tycho 0.14:

http://wiki.eclipse.org/Tycho/Additional_Tools#tycho-eclipserun-plugin

Or with Tycho 0.13

http://code.google.com/a/eclipselabs.org/p/tycho-eclipserun-plugin/

Currently, LDT uses Tycho 0.12 so this should be considered when the build uses 0.13 or 0.14.
Comment 1 Benjamin Cabé CLA 2012-01-27 15:23:55 EST
Is Tycho 0.14.SNAPSHOT available on a public repository already? Sonatype one maybe? (#lazyweb :))

FYI we already switched to Tycho 0.13 in ldt-product branch (which I should merge into master, by the way, I just need to make the RCP build disabled by default, and enabled via a profile, since I don't want our Hudson nightly build at eclipse.org to take forever...)
Comment 2 Marc-André Laperle CLA 2012-01-27 15:40:01 EST
(In reply to comment #1)
> Is Tycho 0.14.SNAPSHOT available on a public repository already? Sonatype one
> maybe? (#lazyweb :))

Yup, try:

<pluginRepositories>
  <pluginRepository>
    <id>tycho-snapshots</id>
    <url>https://oss.sonatype.org/content/groups/public/</url>
  </pluginRepository>
</pluginRepositories>

> FYI we already switched to Tycho 0.13 in ldt-product branch (which I should
> merge into master, by the way, I just need to make the RCP build disabled by
> default, and enabled via a profile, since I don't want our Hudson nightly build
> at eclipse.org to take forever...)

That's good. If you merge it into master then I'll look into building the help index and attach a patch.
Comment 3 Benjamin Cabé CLA 2012-01-27 17:17:10 EST
(In reply to comment #2)
> That's good. If you merge it into master then I'll look into building the help
> index and attach a patch.

Done! Thanks for the patch proposition!
FWIW, I haven't been very successful switching to 0.14.0-SNAPSHOT, I end up with an NPE ; but I haven't investigated any further.
Comment 4 Marc-André Laperle CLA 2012-02-01 02:17:22 EST
(In reply to comment #3)
> (In reply to comment #2)
> > That's good. If you merge it into master then I'll look into building the help
> > index and attach a patch.
> 
> Done! Thanks for the patch proposition!
> FWIW, I haven't been very successful switching to 0.14.0-SNAPSHOT, I end up
> with an NPE ; but I haven't investigated any further.

Thanks! Bug 366319 got reopened so I will wait until that is sorted out before making a patch.
Comment 5 Simon Bernard CLA 2014-10-08 08:56:39 EDT
It should be done in master (commit fcd52d7c005a87ecb1a4b876da2ba261b111c6be in our new repository : http://git.eclipse.org/c/ldt/org.eclipse.ldt.git/ )
If I understand well, the index is  locale dependent and we create one only for the en locale.