2013년 11월 21일 목요일

Mac Mavericks 듀얼화면 설정

 Mavericks에서 듀얼로 사용할 때 디스플레이 옵션 설정


위 붉은 박스 부분을 선택하면 개별로 화면이되고 하나의 화면(화면확장?)으로 사용 할 수있음.

2013년 7월 9일 화요일

Eclipse debug perspective 지정

Windowns > Preferences > Run/Debug 메뉴... 에서 설정함.

2013년 7월 5일 금요일

jar내 xml classpath 설정 방법

Spring을 이용해 webapplication을 개발 할 시 contextConfigLocation param을
설정 할 때 jar파일에 있는 xml을 읽어와야 할 때가 있다.
이 때 web.xml을 설정하는 방법에 대해 기술한다.

 <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
     classpath:/spring/context-*.xml     <==== 해당 어플리케이션의 classes 내의 경우
    classpath*:/com/cnbsoft/sample/core/resources/spring/context-*.xm  <=== jar 파일에 있을 경우
    </param-value>
  </context-param> ... <중략>

Eclipse "Reveal End of Document" 오류(버그)

Reveal End of Document

Eclipse에서 위 오류가 나는 이유는 여러가지 있겠지만,
그 중 알게된것에 대해 남긴다.

특히, 웹어플리케이션 개발 시 많은 양의 로그를 출력 할 때 콘솔의 옵션 중
Fixed width console을 활성 화 했을 때 주로 발생한다. 고로, 해당 옵션을
비활성화 하면 오류는 더 이상 출력되지 않는다.