Skip to content

Commit 772dda8

Browse files
committed
Remove pre-built indexes for Eclipse Help system
This change fixes errors when doing a Help -> Contents and then initiating a search. Errors such as: ``` !ENTRY org.eclipse.help.base 2 0 2026-03-11 13:55:32.290 !MESSAGE Unable to consume Lucene index from bundle 'org.eclipse.tracecompass.doc.user_11.2.0.202512122003 [236]'. The index should be rebuilt with Lucene 10.3.2 ``` or ``` !ENTRY org.eclipse.help.base 4 0 2026-03-11 14:34:35.767 !MESSAGE Help index declared, but missing for plugin org.eclipse.tracecompass.incubator.ros2.doc.user. ``` The latter error generally happens for the incubator because the skeleton included building the index, but the build.properties was missing the the `index/` entry, so they were not included in built bundles. See eclipse-simrel/simrel.build#1288
1 parent 1243012 commit 772dda8

25 files changed

Lines changed: 6 additions & 245 deletions

File tree

doc/org.eclipse.tracecompass.analysis.profiling.doc.user/build.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ bin.includes = plugin.xml,\
1414
about.html,\
1515
plugin.properties,\
1616
book.css,\
17-
doc/,\
18-
index/
17+
doc/
1918
src.includes = about.html

doc/org.eclipse.tracecompass.analysis.profiling.doc.user/build.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,4 @@
4545
<fileset dir="doc" includes="**/*.xml" />
4646
</delete>
4747
</target>
48-
<target name="build.index" description="Builds search index for the plug-in" if="eclipse.running">
49-
<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}" />
50-
</target>
5148
</project>

doc/org.eclipse.tracecompass.analysis.profiling.doc.user/plugin.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@
66
<toc
77
file="doc/User-Guide-toc.xml"
88
primary="true" />
9-
<index
10-
path="index/">
11-
</index>
129
</extension>
1310
</plugin>

doc/org.eclipse.tracecompass.analysis.profiling.doc.user/pom.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -57,32 +57,6 @@
5757
</execution>
5858
</executions>
5959
</plugin>
60-
<!-- Build help index -->
61-
<plugin>
62-
<groupId>org.eclipse.tycho.extras</groupId>
63-
<artifactId>tycho-eclipserun-plugin</artifactId>
64-
<configuration>
65-
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build.xml build.index</appArgLine>
66-
</configuration>
67-
</plugin>
68-
<!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
69-
<plugin>
70-
<artifactId>maven-clean-plugin</artifactId>
71-
<executions>
72-
<execution>
73-
<id>clean-index</id>
74-
<phase>clean</phase>
75-
<configuration>
76-
<filesets>
77-
<fileset><directory>index/</directory></fileset>
78-
</filesets>
79-
</configuration>
80-
<goals>
81-
<goal>clean</goal>
82-
</goals>
83-
</execution>
84-
</executions>
85-
</plugin>
8660
</plugins>
8761
</build>
8862

doc/org.eclipse.tracecompass.doc.dev/build.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ bin.includes = plugin.xml,\
1717
about.html,\
1818
plugin.properties,\
1919
book.css,\
20-
doc/,\
21-
index/
20+
doc/
2221
src.includes = about.html
2322

doc/org.eclipse.tracecompass.doc.dev/build.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,4 @@
4545
<fileset dir="doc" includes="**/*.xml" />
4646
</delete>
4747
</target>
48-
49-
<target name="build.index" description="Builds search index for the plug-in" if="eclipse.running">
50-
<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}" />
51-
</target>
5248
</project>

doc/org.eclipse.tracecompass.doc.dev/plugin.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@
66
<toc
77
file="doc/Developer-Guide-toc.xml"
88
primary="true" />
9-
<index
10-
path="index/">
11-
</index>
129
</extension>
1310
</plugin>

doc/org.eclipse.tracecompass.doc.dev/pom.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -59,32 +59,6 @@
5959
</execution>
6060
</executions>
6161
</plugin>
62-
<!-- Build help index -->
63-
<plugin>
64-
<groupId>org.eclipse.tycho.extras</groupId>
65-
<artifactId>tycho-eclipserun-plugin</artifactId>
66-
<configuration>
67-
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build.xml build.index</appArgLine>
68-
</configuration>
69-
</plugin>
70-
<!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
71-
<plugin>
72-
<artifactId>maven-clean-plugin</artifactId>
73-
<executions>
74-
<execution>
75-
<id>clean-index</id>
76-
<phase>clean</phase>
77-
<configuration>
78-
<filesets>
79-
<fileset><directory>index/</directory></fileset>
80-
</filesets>
81-
</configuration>
82-
<goals>
83-
<goal>clean</goal>
84-
</goals>
85-
</execution>
86-
</executions>
87-
</plugin>
8862
</plugins>
8963
</build>
9064

doc/org.eclipse.tracecompass.doc.user/build.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ bin.includes = plugin.xml,\
1818
plugin.properties,\
1919
book.css,\
2020
doc/,\
21-
reference/,\
22-
index/
21+
reference/
2322
src.includes = about.html

doc/org.eclipse.tracecompass.doc.user/build.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,4 @@
4545
<fileset dir="doc" includes="**/*.xml" />
4646
</delete>
4747
</target>
48-
49-
<target name="build.index" description="Builds search index for the plug-in" if="eclipse.running">
50-
<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}" />
51-
</target>
5248
</project>

0 commit comments

Comments
 (0)