사용자가 제품의 도움말 목차를 검색할 때 검색은 문서 색인에서 수행됩니다. 기본적으로 이 인덱스는 도움말 검색을 처음으로 호출할 때 만들어지지만, 사전에 빌드되어 제품과 함께 사용자에게 제공될 수 있습니다. 이렇게 하면 사용자 시스템에서 색인을 빌드하지 않아도 되고 사용자가 처음 검색 결과를 더 빨리 얻을 수 있습니다.
색인을 빌드하려면 다음 단계를 수행하십시오.
eclipse -nosplash -application org.eclipse.help.indexTool -vmargs -DindexOutput=outputDirectory -DindexLocale=locale다음 인수를 설정해야 합니다.
예를 들면, 다음 명령을 실행하면
eclipse -nosplash -application org.eclipse.help.indexTool -vmargs -DindexOutput=d:/build/com.my.plugin -DindexLocale=en
doc_index.zip 파일이 d:/build/com.my.plugin 아래의 nl/en 디렉토리에
저장됩니다. 이 파일에는 사용자가 en 로케일에서 제품을 실행할 때
사용 가능한 문서 내용의 색인이 들어 있습니다.
com.my.plugin/
plugin.xml
nl/
de/
doc_index.zip
en/
doc_index.zip
other files of this plugin
org.eclipse.help/productIndex=com.my.plugin