이 블로그 검색

2010년 7월 23일 금요일

gwt-ext 설치

먼저 기본 gwt(2.0.4)는 설치가 되어있다고 가정합니다.


1. GWT-Ext 다운로드 (http://gwt-ext.com/download/) - gwtext-2.0.5

2. ExtJS 다운로드 (http://gwt-ext.com/download/)에서 here 클릭 - ext-2.0.2

3. jar파일 등록 : WEB-INF/lib에 1번에서 압축을 풀면 나오는 gwtext.jar을 복사한 후, 이클립스>프로젝트명 오른쪽클릭> Properties > java build path > libraries > Add jars에서 WEB-INF/lib/gwtext.jar추가

4. war/js/ext-2.0.2/폴더 안에 ext-2.0.2.zip 압축 파일 안에 있는 adapter, resources 폴더와 ext-all.js, ext-all-debug.js, ext-core.js, ext-core-debug.js 파일을 복사해 넣는다.

5. 프로젝트명.gwt.xml파일 수정
entry-point태그 아래에
stylesheet src="../js/ext-2.0.2/resources/css/ext-all.css"
script src="../js/ext-2.0.2/adapter/ext/ext-base.js"
script src="../js/ext-2.0.2/ext-all.js" 추가

위의 4개 내용 추가시 각각 < />태그로 감싸주어야 합니다.

2010년 7월 18일 일요일

Eclipse에서 Error retrieving "feature.xml". [error in opening zip file] 에러 해결 방법

Eclipse에 플러그인을 설치하기 위해서 Help –> Software Updates –> Find and install을 실행했을 때 Error retrieving "feature.xml". [error in opening zip file] 라는 에러 메세지를 보게 된다면 아래와 같은 방법으로 해결하면 됩니다.

1. 이클립스 종료
2. 이클립스가 설치된 디렉토리에서 site.xml파일 삭제
3. 이클립스를 실행한 후 Software Updates - Find and install을 실행