Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ua-dev] pre-building the eclipse help index errors: [help.buildHelpIndex] Locale 'en_US': cannot find document: guide/pde_schema_editor.htm, etc

I've studied these posts on this list and am also trying to pre-build
the search indexes for my doc plugins:

http://dev.eclipse.org/mhonarc/lists/platform-ua-dev/msg00132.html
http://dev.eclipse.org/mhonarc/lists/platform-ua-dev/msg00109.html

The build completes with errors and produces only 1 KB index files. The
errors are:

[help.buildHelpIndex] Help documentation could not be indexed completely.
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_schema_editor.htm
etc, one for every page in the toc.

Is there some trick to getting it to build the indexes and find the html
files? All the details I could think of are are below.

Thanks,
David
---------------------------------------------
Details:

In case it matters:

$ java -version
java version "1.5.0_06"

I'm using the following build.xml file (and pointing to an unmodified
version of org.eclipse.pde.doc.user_3.1.2 for testing):

<project name="Test Project" default="build.index"  basedir="." >
  <target name="build.index" if="eclipse.running">
    <help.buildHelpIndex
manifest="org.eclipse.pde.doc.user_3.1.2/plugin.xml"
destination="org.eclipse.pde.doc.user_3.1.2"/>
  </target>
</project>

And the following command:

java -classpath ../eclipse-3.1.2/startup.jar
org.eclipse.core.launcher.Main -application
org.eclipse.ant.core.antRunner -buildfile build.xml -verbose -debug

I'm getting the following too-small-to-be-real index files:

dcramer@dcramerxp
~/Desktop/Eclipses/eclipse-index-test/org.eclipse.pde.doc.user
_3.1.2/index
$ ls -lh
total 9.0K
-rwx------+ 1 dcramer Domain Users 1.1K Oct 30 14:36 _1.cfs
-rwx------+ 1 dcramer Domain Users    4 Oct 30 14:36 deletable
-rwx------+ 1 dcramer Domain Users  130 Oct 30 14:36 indexed_contributions
-rwx------+ 1 dcramer Domain Users  136 Oct 30 14:36 indexed_dependencies
-rwx------+ 1 dcramer Domain Users  114 Oct 30 14:36 indexed_docs
-rwx------+ 1 dcramer Domain Users   27 Oct 30 14:36 segments

And the following error messages:

Install location:
    file:/c:/Documents and Settings/dcramer/Desktop/Eclipses/eclipse-3.1.2/
Configuration file:
    file:/c:/Documents and
Settings/dcramer/Desktop/Eclipses/eclipse-3.1.2/configuration/config.ini
loaded
Configuration location:
    file:/c:/Documents and
Settings/dcramer/Desktop/Eclipses/eclipse-3.1.2/configuration/
Framework located:
    file:/c:/Documents and
Settings/dcramer/Desktop/Eclipses/eclipse-3.1.2/plugins/org.eclipse.osgi_3.1.2.jar
Framework classpath:
    file:/c:/Documents and
Settings/dcramer/Desktop/Eclipses/eclipse-3.1.2/plugins/org.eclipse.osgi_3.1.2.jar
Debug options:
    file:/C:/Documents and
Settings/dcramer/Desktop/Eclipses/eclipse-index-test/.options not found
Time to load bundles: 16
Starting application: 766
Apache Ant version 1.6.5 compiled on June 2 2005
Apache Ant version 1.6.5 compiled on June 2 2005
Setting ro project property: ant.file -> build.xml
Buildfile: build.xml
 +Datatype eclipse.convertPath org.eclipse.core.resources.ant.ConvertPath
 +Datatype eclipse.incrementalBuild
org.eclipse.core.resources.ant.IncrementalBuild
 +Datatype eclipse.refreshLocal
org.eclipse.core.resources.ant.RefreshLocalTask
 +Datatype help.buildHelpIndex
org.eclipse.help.internal.base.ant.BuildHelpIndex
 +Datatype eclipse.checkDebugAttributes
org.eclipse.jdt.core.CheckDebugAttributes
 +Datatype eclipse.brand org.eclipse.pde.internal.build.tasks.BrandTask
 +Datatype eclipse.fetch org.eclipse.pde.internal.build.tasks.FetchTask
 +Datatype eclipse.buildScript
org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask
 +Datatype eclipse.buildManifest
org.eclipse.pde.internal.build.tasks.BuildManifestTask
 +Datatype eclipse.assembler
org.eclipse.pde.internal.build.tasks.PackagerTask
 +Datatype eclipse.idReplacer
org.eclipse.pde.internal.build.tasks.IdReplaceTask
 +Datatype eclipse.jnlpGenerator
org.eclipse.pde.internal.build.tasks.JNLPGeneratorTask
 +Datatype eclipse.unzipperBuilder
org.eclipse.pde.internal.build.tasks.UnzipperGeneratorTask
 +Datatype eclipse.fetchFilesGenerator
org.eclipse.pde.internal.build.tasks.FetchFileGeneratorTask
 +Datatype eclipse.versionReplacer
org.eclipse.pde.internal.build.tasks.GenericVersionReplacer
 +Datatype pde.exportPlugins
org.eclipse.pde.internal.ui.ant.PluginExportTask
 +Datatype pde.exportFeatures
org.eclipse.pde.internal.ui.ant.FeatureExportTask
 +Datatype pde.convertSchemaToHTML org.eclipse.pde.ant.ConvertSchemaToHTML
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\Documents and
Settings\dcramer\Desktop\Eclipses\eclipse-index-test\build.xml with URI
=
file:///C:/Documents%20and%20Settings/dcramer/Desktop/Eclipses/eclipse-index-test/build.xml
Setting ro project property: ant.project.name -> Test Project
Adding reference: Test Project
Setting ro project property: ant.file.Test Project -> C:\Documents and
Settings\dcramer\Desktop\Eclipses\eclipse-index-test\build.xml
Project base dir set to: C:\Documents and
Settings\dcramer\Desktop\Eclipses\eclipse-index-test
 +Target:
 +Target: build.index
Adding reference: eclipse.ant.targetVector
Build sequence for target(s) `build.index' is [build.index]
Complete build sequence is [build.index, ]

build.index:
[help.buildHelpIndex] Help documentation could not be indexed completely.
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_schema_editor.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_sites.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest_extensionpoints.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/product_export.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_site_setup.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_setup.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_generating.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest_overview.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_features.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_build_editor.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest_dependencies.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_site_previewing.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
reference/misc/index.html
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest_extensions.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_generating_ant.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_site_building.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_schema.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_running_tracing.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
whatsNew/pde_whatsnew.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/dynamic-classpaths.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_generating_build.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_fragment_example.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
tips/pde_tips.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/product_editor.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_running.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest_runtime.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_synchronizing.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/plugins_as_jars.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/restrictions.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/feature_based_product.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_generating_antcommandline.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_setup.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
reference/extension-points/index.html
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/rcp_project.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_creating.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_feature_manifest.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
reference/api/overview-summary.html
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_schema_using.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_running_plugins.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/product_configuration.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_deploy.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_convert.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_manifest_source.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_configuring.htm
[help.buildHelpIndex]     Locale 'en_US': cannot find document:
guide/pde_fragment.htm
BUILD SUCCESSFUL

BUILD SUCCESSFUL
Total time: 1 second




Back to the top