첫번째 : 받을것
두번째 : upload 대상
세번째 : 모두

메뉴에서 window list 설정 후

메뉴 > window > save layout 으로 저장

출처 : http://okjsp.tistory.com/1165643139

한국어를 사용하는 우리에게 불필요한 기능 하나가 있습니다. 대표적인 것이 스펠링(spellig) 체크하는 기능이죠. 이것 외에도 이클립스 WTP를 설치하고 기본적으로 설정을 바꿔주는 것이 좋은 것들이 있는데 소개하려 합니다. 이클립스 유로파(3.3) WTP 버전을 기준으로 합니다.

1. 스펠링 체크 안하기

2. 문법검사 파일 범위 줄이기

3. 공백 비교 안하기

4. 이클립스 최대 메모리 확보하기

5. 패키지 익스플로러 트리계층으로 보기

6. Problems 뷰에서 하위 항목만 보기


일단 이 정도를 뽑아봤습니다. 성능에 관련된 것도 있고, 편한 UI 때문에 적어놓은 것도 있습니다.

제가 이클립스를 설치하고 손대는 설정들입니다.


출처 : http://younghoe.info/1232



1. 필수 플러그인 설치

2. 설정 변경
3. 튜닝
  • Heap 메모리 보기 설정: Preferences -> General 에서 Show heap status를 체크
  • GC 줄이기 위한 메모리 설정: eclipse.ini에서 -Xms와 -Xmx 값을 -Xms1000M -Xmx1000M 로 변경
  • 불필요한 플러그인 초기 기동 방지: Preferences -> General -> Startup and Shutdown 에서 디폴트로 선택되는 플러그인 중 불필요한 것 제외 (내 경우는 모두 불필요함)
  • 저장시 Organize Imports 자동 실행: Preferences -> Java -> Editor -> Save Actions에서 Perform the selected actions on save와 Organize imports 를 순서대로 선택
  • 워크스페이스 자동 리프레시 설정: 이클립스 밖에서 워크스페이스 파일 수정한 경우 자동으로 이클립스에서도 인식하게 함. Preferences -> General -> Workspace 에서 Refresh automatically 선택
  • 자바 파일 아이콘을 다양하게: 자바 파일을 펼쳐야 해당 파일이 Class, Interface, Enum 중에 어떤 타입을 정의했나 알 수 있다. Preferences -> General ->Appearance -> Label Decorations 에서 Java Type Indicator를 선택하면, 자바 파일 아이콘이 Class, Interface, Enum 등의 타입 정보가 드러나게 바뀐다.


eclipse.ini 예제

root 폴더 하위의 eclipse.ini 파일의 내용에서 launcher.XXMaxPermSize값(ex. 256M)을 높여서 재설정해준다. 필요 시 메모리 사용 최소값(-Xms)과 최대값(-Xmx)을 증가시켜서 사용하도록 한다. 다음은 Eclipse 3.5.0(Galileo) 버전의 eclipse.ini 파일 예이다.


-clean
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms400m
-Xmx512m



showsplash org.eclipse.platform
--launcher.XXMaxPermSize 512m
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=512m
-Xms40m
-Xmx512m

Xms : 초기 시작할때 차지하는 메모리 크기
Xmx : 최대 사용할 수 있는 메모리 크기
XX:PermSize : 클래스 정보를 저장하는 메모리 크기

== Server ==
> apache http server 설치 ( http://httpd.apache.org/download.cgi )
    ** WEBSVN 와 apache 를 연동해서 사용할 경우만 설치하며, SubVersion 보다 먼저 설치한다. **
    -. 설치안내 문서
    http://httpd.apache.org/docs/2.2/
    http://httpd.apache.org/docs/2.2/platform/windows.html
    -. {APACHE_HOME}/conf/httpd.conf 에서 아래 문장 주석제거
    LoadModule dav_module modules/mod_dav.so
    -. LoadModule dav_svn_module modules/mod_dav_svn.so
    : 문장도 주석을 제거 하라는데, 본인은 에러발생.
    : {Subversion_home}\bin\mod_dav_svn.so 파일을 {APACHE_HOME}/conf/modules 에 복사해도 에러가 발생.
> SubVersion 설치 ( http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 )
    -. 환경변수 Path 설정
    : D:\dev_kit\Subversion\bin
    -.저장소 설정
    1. 저장폴더 root를 D:\repository 로 설정
    2. 프로젝트 단위별로 폴더생성(test 프로젝트)을 위해 command 창에서 svnadmin 명령어를 사용해야 한다.
    : 버전 1.2.0 에서 부터 버클리 DB를 사용한다고 한다. 저장소 생성시 버클리 인지 파일sys 잘 모르겠음.
    : 아마 버클리로 하는것을 추천할 것 같음.
    -.버클리 DB를 이용한 저장소
    svnadmin create --fs-type bdb D:\repository\test
    -.파일시스템을 이용한 저장소
    svnadmin create --fs-type fsfs D:\repository\test
    -. 인증 단계를 위한 D:/repository/test/conf/svnserve.conf 수정.
    [general]
    anon-access = none
    auth-access = write
    password-db = passwd
    -. 인증받지 않은 접근을 차단을 위한 D:/repository/test/conf/passwd 수정.
    [users]
    harry = harryssecret
    와 같이 ID=PW 형식으로 설정
> SVNSERVE Manager 설치 ( http://www.pyrasis.com/main/SVNSERVEManager )
: 매뉴얼로 subversion 을 관리한다. 윈도우 서비스로 관리 하려면 아래 SVN Service Wrapper for Windows 를 설치한다.
> SVN Service Wrapper for Windows 설치 ( http://kaistizen.net/Project/SubversionOnWindows/CustomImages/SVNService.zip )
: 윈도우 서비스 관리로 install 하는 툴이다.
    -. 설치 후 command 창에서 SVNService -install -d -r d:\repository
> PHP 설치(WEBSVN 설치를 위한) ( http://www.php.net/downloads.php )
> WEBSVN 설치 ( http://websvn.tigris.org/servlets/ProjectDocumentList )
    -.다운 받은 파일을 {APACHE_HOME}/htdocs/websvn 폴더에 복사한다.
    : {APACHE_HOME}/htdocs 은 default root 이며,
    http://localhost/ 로 접속하면 {APACHE_HOME}/htdocs/index.html 파일에 접속된다.
    : 나중에 http://localhost/websvn/ 로 접속을 하면 websvn 홈을 접속하게 되는것이다.
    > GnuWin32 Packages 설치 (WEBSVN 를 위한) ( http://sourceforge.net/project/showfiles.php?group_id=163416 )
    -. {APACHE_HOME}/htdocs/websvn/include/distconfig.inc 를 {APACHE_HOME}/htdocs/websvn/include/config.inc 로 복사.
    -. {APACHE_HOME}/htdocs/websvn/include/config.inc 의 아래문장 주석 제거.
        : 윈도우 서버인지 설정.
        $config->setServerIsWindows();
        -> 주석을 하나마나 상황이 같은데.. 모르겠음.
        : Subversion Binary와 GnuWin32 Packages의 경로 설정
        // Configure these lines if your commands aren't on your path.
        //
        $config->setSVNCommandPath("D:\\dev_kit\\Subversion\\bin");
        $config->setDiffPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
        // For syntax colouring, if option enabled...
        $config->setEnscriptPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
        $config->setSedPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
        // For delivered tarballs, if option enabled...
        $config->setTarPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
        // For delivered GZIP'd files and tarballs, if option enabled...
        $config->setGZipPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
        : Subversion 저장소 경로 설정
        $config->parentPath("D:\\repository");
        :웹사이트 템플릿(디자인) 선택하기
        $config->setTemplatePath("$locwebsvnreal/templates/Standard/");
        : 언어 설정
        -> LANGUAGE SETUP 을 검색하여 주석을 제거한다. 아무것도 선택하지 않으면 English가 기본값입니다.
        (한글이 제대로 되는것 같지 않음.)
        : Tarball Download 활성화
        $config->allowDownload();
        : Syntax Colorization
        $config->useEnscript();

== client ==
TortoiseSVN  ( http://tortoisesvn.net/downloads )

주의) 해봤는데, 잘 안되네요. ㅠㅠ

+ Recent posts