본문으로 바로가기
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
이클립스 최신 버전 기반의 PDT(PHP Development Tools)에서는 Zend Debugger 자동설치시 다음과 같은 에러와 함께 설치되지 않습니다. 

An error occurred while collecting items to be installed

session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: osgi.bundle,org.zend.php.debug.debugger,5.3.18.v20110322

No repository found containing: osgi.bundle,org.zend.php.debug.debugger.win32.x86,5.3.18.v20110322

No repository found containing: org.eclipse.update.feature,org.zend.php.debug_feature,5.3.18.v20110322

 
해결 방법을 정리해봤습니다.

1. http://downloads.zend.com/pdt 에서 artifacts.xml, artifacts.jar, content.jar 파일을 다운로드



2. artifacts.xml 파일을 편집

a. mappings 엘리먼트 영역에서 사이즈를 2로 변경하고 두번 째 rule을 삭제(classifier=binay가 있는 줄)
b. ${repoUrl} 을  http://downloads.zend.com/pdt 로 변경
 


다음은 수정 완료된 모습입니다.


3. 편집한 artifacts.xml 을 artifacts.jar 파일로 패키징 (기존 jar 파일 안의 artifacts.xml에 덮어 씌웁니다.)
알집이나 반디집 같은 일반 압축 프로그램을 사용하면 됩니다. 

4. 이클립스에서 content.jar 파일을 설치하면 됩니다.

Help > Install New Software 메뉴에서 Add 버튼 클릭 후 Name에는 "Zend Debugger" Location은 Archive 버튼을 눌러서 좀전에 다운로드 받은 content.jar 파일을 선택해주면 "Zend CE Features" 플러그인을 설치 할 수 있습니다.

 

※ 만일 설치가 안되고 계속 에러가 날 경우 4번 스텝에서 Archive 버튼 대신 Local을 선택하시면 됩니다.
Help > Install New Software 메뉴에서 Add 버튼을 클릭 후  Name은 대충 "Zend xxxx" 로 적고 Local 버튼을 누른 후 다운로드 받은 디렉토리를 선택하시면 됩니다. (주의할 점은 파일이 아니라 디렉토리를 선택해야 한다는 사실입니다.)