명령행에서 실행 중인 Information Center 갱신
Information Center에 의해 지원되고 도움말 시스템을
Information Center로서 설치에 문서화된 시작 및 시스템 종료 명령 외에,
Information Center는 실행 중인 Eclipse에서 Update Manager 조작을 호출하기
위한 명령 세트를 지원합니다.
기능을 설치, 갱신, 사용, 사용 안함으로 설정하거나, 설치된 기능 또는
갱신 사이트에서 사용할 수 있는 기능을 나열하거나 실행 중인 Information Center에
확장 사이트를 추가할 수 있습니다. Information Center를 시스템 종료하거나
다시 시작할 필요 없이 실행 중 문서 플러그인 세트를 변경할 수 있습니다.
도움말 시스템을 Information Center로 설치에서
설명하는 대로 Information Center를 시작하십시오.
최소 플러그인 세트를 실행 중인 경우 시작 명령을 사용하여 Information Center를 실행하기 전에 플러그인의 목록에
org.eclipse.update.core 플러그인을 추가하십시오.
다음과 같이 Information Center 갱신 명령을 실행하십시오. 여기서 [ ]는 선택적 인수를 의미하며 이탤릭체로 된 인수는 사용자가 제공해야 합니다.
필요한 경우, 갱신을 수행한 후 최종 단계로서 apply 명령을 발행하여 변경사항을
적용하십시오. 현재 세션에서의 변경사항을 반영합니다.
apply 명령을 호출하지 않으면 다음에 Information Center가 시작될 때
변경사항이 적용됩니다.
원격 사이트에서 기능 설치:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command install
-featureId feature_id
-version version
-from remote_site_url
[-to target_site_dir]
예제: java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter -command install -from http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/optionalSite/ -featureId com.example.root -version 1.0.0
기존 기능 또는 모든 기능 갱신:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command update
[-featureId feature_id ]
[-version version ]
지정된 기능 사용(구성):
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command enable
-featureId feature_id
-version version
[-to target_site_dir]
지정된 기능 사용 안함(구성 취소):
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command disable
-featureId feature_id
-version version
[-to target_site_dir]
지정된 기능 설치 제거:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command uninstall
-featureId feature_id
-version version
[-to target_site_dir]
-to target_site_dir이 지정된 위의 모든 명령에서는
지정된 디렉토리에 구성된 대상 사이트를 사용합니다. 위치를
지정하지 않으면 기본 로컬 제품 사이트를 사용합니다.
위의 명령에서 실제로 수행하지 않고 오퍼레이션이 성공했는지,
즉 제한조건을 만족하는지 확인만 해야 하는 경우
-verifyOnly=true를 인수 목록에
추가하십시오.
원격 사이트를 검색하여 설치 시 사용 가능한 모든 기능 나열:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command search
-from remote_site_url
설치된 기능 나열:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command listFeatures
-from local_site_dir
기능은 다음과 같이 나열됩니다.
Site: site url
Feature: id version enabled (or disabled)
추가 기능과 함께 로컬 사이트 추가:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command addSite
-from local_site_dir
로컬 사이트 제거:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command removeSite
-to local_site_dir
변경사항 적용:
java -cp plugins/org.eclipse.help.base_3.1.0.jar org.eclipse.help.standalone.Infocenter
-command apply