Dev_Tool
-
[Eclipse] CodeTemplates 설정후 JavaDoc사용하기Dev_Tool/Eclipse 2022. 12. 8. 10:00
이클립스에는 자바독 형식의 주석을 필요에 따라 템플릿으로 저장해 불러올 수 있는 기능이 있다 JavaDoc템플릿 설정하기 1. 테스트 코드 작성 Window -> Preferences -> Java -> Code Style -> Code Templates 2. Types(클래스), Methods(메소드)의 템플릿 스타일 작성하기 3. 단축키로 사용해보기( 해당대상 클릭후 Alt + Shift + J )
-
[Eclipse] Java프로젝트 jar로 생성후 실행하기Dev_Tool/Eclipse 2021. 6. 9. 12:43
1. 테스트 코드 작성 // jar실행 테스트 // jar 실행시 두가지 인자를 받아 출력해보자 public class JarTest { public static void main(String[] args) { System.out.println("# Jar파일 실행 테스트"); System.out.println("첫번째 인자 : " + args[0] ); System.out.println("두번째 인자 : " + args[1] ); } } 2. File → Export... 3. Export → Runnable JAR File 선택후 → Next클릭 4. Runnable → Browse... 클릭후 jar저장경로 선택 → Finish클릭 5. 나는 jar파일을 c드라이브 최상위에 두었다 cmd를 실행후 ..
-
[Eclipse] MyBatis Generator 플러그인Dev_Tool/Eclipse 2021. 5. 6. 17:29
0. MyBatis Generator?아래 공식페이지에도 설명되어있지만마이바티스에 필요한 파일들을자동으로 생성해주는 플러그인으로 보면된다 MyBatis Generator Core – Introduction to MyBatis GeneratorIntroduction to MyBatis Generator MyBatis Generator (MBG) is a code generator for MyBatis MyBatis. It will generate code for all versions of MyBatis. It will introspect a database table (or many tables) and will generate artifacts that can be used to accesmybatis..