Eclipse Indigo 3.7.1 + Tomcat 7.0.25 + 스프링 MVC + Maven 3.0.4 개발 환경 구축 - 1장 : http://springmvc.egloos.com/429363

Eclipse Indigo 3.7.1 + Tomcat 7.0.25 + 스프링 MVC + Maven 3.0.4 개발 환경 구축 - 2장 : http://springmvc.egloos.com/429570

Eclipse Indigo 3.7.1 + Tomcat 7.0.25 + 스프링 MVC + Maven 3.0.4 개발 환경 구축 - 3장 : http://springmvc.egloos.com/429779

이클립스에서 SpringMVC 테스트(JUnit) 환경 구축 : http://springmvc.egloos.com/438345

 

posted by 뚱2

링크 : http://stackoverflow.com/questions/5618652/publishing-failed-with-multiple-errors-eclipse 

 

 

Eclipse produces this message when a file in an Eclipse project is changed outside of Eclipse. To avoid it:

  • a) Don't change files outside of Eclipse
  • b) Refresh the workspace/project after changing files outside of Eclipse F5 or
  • c) Enable Window > Preferences > General > Workspace > Refresh Automatically

Note: in STS 2.8.1, it is "Refresh on Access"

posted by 뚱2

참고 : http://okjsp.tistory.com/1165643034 


이클립스에 프로젝트가 하나일때는 파일 검색할때 해당 프로젝트만 검색되기때문에 쉽게 됩니다.

그런데 프로젝트가 하나둘씩 늘어날때마다 검색 결과가가 여러 프로젝트에서 고르게 검색 될때가 있습니다.

이럴때는 이클립스 워킹셋을 만들어서 검색 범위를 줄일수 있습니다.






위외 같이 해당 워킹셋으로 검색 범위를 좁힐수 있습니다.


posted by 뚱2

자바 프로그래머라고 하면 대부분 웹을 지칭하는 것 같습니다.

순수 자바 프로그래머 보기 쉽지 않네요.

저는 아직 한분도 뵙지 못했습니다.


이클립스에서 자바 프로젝트로 생성시 외부 jar 파일을 포함해야 하는 경우가 있습니다.

기존 서적 대부분은 콘솔 환경에서만 다루다 보면 막상 이클립스에서 할려면 막막하더군요.


그래서 정리해봤습니다.




1. TCPMON_TEST 프로젝트를 생성한다.

2. 프로젝트에 lib폴더를 생성한다 (꼭 lib 폴더 이름으로 생성할 필요없습니다.)

3. 외부 tcpmon-1.1.jar 파일을 넣는다.

4. 프로젝트 -> Properties -> Java Build Path -> Libraries -> Add JARs... -> [클릭]

5. 임포트한 tcpmon-1.1.jar 파일을 선택한다.





posted by 뚱2

링크 : http://mytory.net/archives/1015 

링크 : http://libmarco.tistory.com/47 

링크 : http://yysvip.tistory.com/182 





* 주의사항 : 서버에 올라간호 파일을 ignore하면 안된다. 우선 서버의 동기화에서 제외할 파일을 삭제한후 적용시키면 된다.


posted by 뚱2

[Eclipse] Link With Editor

IDE/Tool/Eclipse 2013. 4. 3. 12:25

해당 파일을 선택하면 Navigator의 트리 위치가 알아서 펼쳐지는 유용한 기능




posted by 뚱2

Window -> Preferences -> General -> Content Types -> Text -> JSP -> Default-Encoding -> [변경]





posted by 뚱2

링크 : http://wiki.eclipse.org/Eclipse.ini 

참고 : http://wiki.kwonnam.pe.kr/eclipse/config 

 

Eclipse startup is controlled by the options in $ECLIPSE_HOME/eclipse.ini. If $ECLIPSE_HOME is not defined, the default eclipse.ini in your Eclipse installation directory (or in the case of Mac, the Eclipse.app/Contents/MacOS directory) is used.

eclipse.ini is a text file containing command-line options that are added to the command line used when Eclipse is started up. There are many options available, please see here.

Important:

  1. Each option and each argument to an option must be on its own line.
  2. All lines after -vmargs are passed as arguments to the JVM, so all arguments and options for eclipse must be specified before -vmargs (just like when you use arguments on the command-line)
  3. Any use of -vmargs on the command-line replaces all -vmargs settings in the .ini file unless --launcher.appendVmargs is specified either in the .ini file or on the command-line. (doc)


By default, eclipse.ini looks something like this (the exact contents will vary based on operating system and which Eclipse package you have):

-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Among other things, this sets the heap space to 40MB initially and a maximum of 512MB, and also specifies a maximum PermGen size of 256MB. A max heap of 512MB might be OK for some users, but it's often necessary to bump that value up for large project sets or when some third-party plugins are installed.

Specifying the JVM

One of the most recommended options to use is to specify a specific JVM for Eclipse to run on. Doing this ensures that you are absolutely certain which JVM Eclipse will run in and insulates you from system changes that can alter the "default" JVM for your system. Many a user has been tripped up because they thought they knew what JVM would be used by default, but they thought wrong. eclipse.ini lets you be CERTAIN.

The following examples of eclipse.ini demonstrate correct usage of the -vm option.

Note the format of the -vm option - it is important to be exact:

  • The -vm option and its value (the path) must be on separate lines.
  • The value must be the full absolute or relative path to the Java executable, not just to the Java home directory.
  • The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM.

Here is an example of what eclipse.ini might look like on a Windows system after you've added the -vm argument and increased the maximum heap space:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Java\JDK\1.6\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m

Remember that the exact values will differ slightly depending on operating system and Eclipse package.

-vm value: Windows Example

This is how the -vm argument might look on Windows (your exact path to javaw.exe could be different, of course):

-vm
C:\Java\JDK\1.6\bin\javaw.exe 


This might not work on all systems. If you encounter "Java was started but returned exit code=1" error while starting the eclipse, modify the -vm argument to point to jvm.dll (exact path could be different):

-vm
C:\Development\Java\64bit\jdk1.7.0_09\jre\bin\server\jvm.dll

-vm value: Linux Example

This is how the -vm argument might look on Linux (your exact path to javacould be different, of course):

 -vm
/opt/sun-jdk-1.6.0.02/bin/java

-vm value: Mac OS X Example

On a Mac OS X system, you can find eclipse.ini by right-clicking (or Ctrl+click) on the Eclipse executable in Finder, choose Show Package Contents, and then locate eclipse.ini in the MacOS folder under Contents.

To specify Java 6 for OS X:

 -vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java

For versions of Mac OS X 10.7+ the location has changed to

/Library/Java/JavaVirtualMachines/<''jdk_name_ver''>/Contents/Home/...

To be safer, determine the location for the JDK you intend to use via the utility /usr/libexec/java_home and put this value with .../bin/java appended into the Eclipse.ini file.

posted by 뚱2

[Eclipse] Plug-In 개발

IDE/Tool/Eclipse 2012. 10. 25. 12:38
posted by 뚱2

링크 : http://blog.naver.com/puteri?Redirect=Log&logNo=100135783511

링크 : http://blog.naver.com/xmlhow?Redirect=Log&logNo=10087851957

 

 

posted by 뚱2

참고 : http://likekururu.egloos.com/230929

 

posted by 뚱2

현재 프로젝트 문제점

구버전(JDK1.4.2) 서블릿 스펙 2.3 이다.

여기까지는 다 좋은데 이넘의 지원되는 이클립스를 찾기가 쉽지 않다. (이클립스도 JRE를 사용하기때문에 버전을 맞춰야 한다.)

또한 구버전을 찾았다고 해서 난 최신버전에 길들여져 있는데 우짜란말이냐... (생산성 하락)

이럴때는 차라리 컴파일 버전을 낮추면 된다.

 

Project->Properties 에서 자바 컴파일 버전을 낮추자

 

 

버전에 안맞을때는 아래 경고가 나타나는데 각각 클릭해서 컴파일 환경정보를 설정해 주면 된다.

 

posted by 뚱2

링크 : http://ganeshtiwaridotcomdotnp.blogspot.kr/2011/09/some-useful-regular-expressions-for.html 

posted by 뚱2

대분자로 변환 : CTRL + SHIFT + X

소문자로 변환 : CTRL + SHIFT + Y

posted by 뚱2

링크 : http://taranakite.blog.me/100155110924 


posted by 뚱2



저는 편하게 기본 설정값에 0하나 더 붙였습니다.


'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] 대소문자 변환  (0) 2012.07.10
[Eclipse] Tasks의 TODO, FIXME 설정  (0) 2012.07.06
[Eclipse] serialVersionUID 자동 생성하기  (0) 2012.07.04
[Eclipse] SVN Console 표시  (0) 2012.06.29
[Eclipse] .svn 폴더 삭제  (0) 2012.06.27
posted by 뚱2

링크 : http://blog.daum.net/yellowjini/5216095  



serialversionutil-civan.zip


'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] Tasks의 TODO, FIXME 설정  (0) 2012.07.06
[Eclipse] console buffer size 조절하기  (0) 2012.07.04
[Eclipse] SVN Console 표시  (0) 2012.06.29
[Eclipse] .svn 폴더 삭제  (0) 2012.06.27
[Eclipse] Java Decompiler JDEclipse  (0) 2012.06.23
posted by 뚱2

SVN을 변경했을때 변경 내역을 Console에 보여주는데 Console창을 자동으로 Active하게 보여주는 옵션




posted by 뚱2

출처 : http://blog.angeleyes.kr/298 

 

 

SVNFolderDelete.reg

 

remove.reg

posted by 뚱2

링크 : http://java.decompiler.free.fr/?q=jdeclipse 

수동설치 : http://feeeel.tistory.com/33 


 

 

 

 

 

jdeclipse_update_site.zip


 

jd-gui-0.3.3.windows.zip

'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] SVN Console 표시  (0) 2012.06.29
[Eclipse] .svn 폴더 삭제  (0) 2012.06.27
[Eclipse] Team Synchronizing 화면전환 Disable  (0) 2012.06.22
[Eclipse] Subversion 계정 변경  (0) 2012.06.22
[Eclipse] JavaScript Errors/Warnings  (0) 2012.06.21
posted by 뚱2

Eclipse Helios까지는 SVN 동기화를 하면은 화면전환이 되지 않았었다.


사실 남이 셋팅해준걸 사용한거라 원래 그런건지 설정을 한건지 알수 없었다.


이번에 Indigo로 업글하고 SVN 동기화면 하면 화면 전환이 ㅡㅡ;


그래서 할 수 없이 설정을 뒤짐....


빙고!!!




'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] .svn 폴더 삭제  (0) 2012.06.27
[Eclipse] Java Decompiler JDEclipse  (0) 2012.06.23
[Eclipse] Subversion 계정 변경  (0) 2012.06.22
[Eclipse] JavaScript Errors/Warnings  (0) 2012.06.21
[Eclipse] Code Templete  (0) 2012.06.21
posted by 뚱2

원본 : http://bllizz.tistory.com/11 


* XP

C:\Documents and Settings\Administrator\Application Data\Subversion\auth\svn.simple


* Vista

C:\User\Administrator\AppData\Roaming\Subversion\auth\svn.simple


* Window 7

C:\Users\[로그인아이디]\AppData\Roaming\Subversion\auth


안에 사용자 정보가 저장되어 있는 파일을 삭제 후

Eclipse 실행 한 다음에 SVN Repository를 열어서 SVN 서버에 접속하려 하면

다시 계정을 물어보는 화면이 나온다.

'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] Java Decompiler JDEclipse  (0) 2012.06.23
[Eclipse] Team Synchronizing 화면전환 Disable  (0) 2012.06.22
[Eclipse] JavaScript Errors/Warnings  (0) 2012.06.21
[Eclipse] Code Templete  (0) 2012.06.21
[Eclipse] Generic types Disable  (0) 2012.06.21
posted by 뚱2



posted by 뚱2

[Eclipse] Code Templete

IDE/Tool/Eclipse 2012. 6. 21. 10:24



'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] Subversion 계정 변경  (0) 2012.06.22
[Eclipse] JavaScript Errors/Warnings  (0) 2012.06.21
[Eclipse] Generic types Disable  (0) 2012.06.21
[Eclipse] eclipse change default perspective  (0) 2012.06.20
[Eclipse] SVN(Subversion 설치)  (0) 2012.06.19
posted by 뚱2



'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] JavaScript Errors/Warnings  (0) 2012.06.21
[Eclipse] Code Templete  (0) 2012.06.21
[Eclipse] eclipse change default perspective  (0) 2012.06.20
[Eclipse] SVN(Subversion 설치)  (0) 2012.06.19
[Eclipse] Automatically Close 해제  (0) 2012.06.15
posted by 뚱2

Jave EE IDE를 사용하본 기본 퍼스펙티브가 JavaEE다.

평소 무거워서 기본 Java를 사용하는데 이게 기본이 아닌게 은근히 신경쓰인다.

변경가능




posted by 뚱2

링크(Market) : http://taranakite.blog.me/100152885165 

링크(Install Software) : http://479lgs.blog.me/150048395205 


저는 둘중에 밑에 방법으로 설치했습니다.

posted by 뚱2

개인적으로 if 후 괄도 생성이나 메소드나 함수 선언시 블락이 ㅈ동으로 생성되는것을 싫어한다.

해제 방법


* Java 해제

Window -> Preferences -> Java -> Editor -> Typing -> (Parentheses), [square] and <angle> brakets 해제, 

Window -> Preferences -> Java -> Editor -> Typing -> {Braces} 해제 


* JavaScript 해제

Window -> Preferences ->  JavaScript  -> Editor -> Typing -> (Parentheses), [square] and <angle> brakets 해제, 

Window -> Preferences ->  JavaScript  -> Editor -> Typing -> {Braces} 해제 




posted by 뚱2

제이쿼리 압축 파일을 Eclipse에 포함 시키면 매번 오류가 난다고 표시된다.

그렇지만 실제 해보면 잘 되는데 이거 엄청 신경쓰인다.

그렇다고 그 부분을 고치기도 애매하다.

이럴때 검사 제외 패턴을 사용한다.


프로젝트 -> Properties -> JavaScript -> Include Path -> Source -> Excluded -> Edit -> Exclusion Patterns -> Add


'**/jquery*.js' 등록





참고 : http://imwill.com/eclipse-java-ee-jquery-validation-error-workaround/#.T9l_mrXqRoI



'IDE/Tool > Eclipse' 카테고리의 다른 글

[Eclipse] SVN(Subversion 설치)  (0) 2012.06.19
[Eclipse] Automatically Close 해제  (0) 2012.06.15
[Eclipse] Console 한글깨짐  (0) 2012.06.14
[Eclipse] 글꼴 및 Color 변경  (0) 2012.06.13
[Eclipse] 기본브라우저 설정  (0) 2012.06.13
posted by 뚱2

새로운 프로젝트에서 밑바탕부터 시작하니 이것 저것 걸리는게 많습니다.


각설하고 Jeus + Eclipse 환경에서 개발합니다.


개발전에 모든 Encoding을 UTF-8로 교채했습니다.


테스트겸 System.out.println으로 콘솔창에 찍어봤는데 한글이 깨집니다. ㅠㅠ


수정방법은 


Run -> Run Configurations ... -> [JEUS Server] -> Common에서 Encoding을 'EUC-KR'로 변경합니다.


* 추가 : 2012-07-28

Jeus의 WebApp설정을 UTF-8로 맞춰주시는 방법도 있습니다.





posted by 뚱2