본문 바로가기

JAVA/JAVA(MEC)

(24)
github page 홈페이지 만들기 관련자료 kutar37.tistory.com/entry/3%EB%B6%84%EB%A7%8C%EC%97%90-Github-Page%EB%A1%9C-%ED%99%88%ED%8E%98%EC%9D%B4%EC%A7%80%EC%A0%9C%EC%9E%91
github 기초방법 및 초기설정 기초 사용법 : wordbe.tistory.com/entry/Git-%EC%82%AC%EC%9A%A9-%EB%B0%A9%EB%B2%95-%EC%A0%95%EB%A6%ACcommit-push-pull-request-merge-%EB%93%B1 Git 사용 방법 정리(commit, push, pull request, merge 등) Git git 개념 및 명령어 정리 개인 개발을 넘어, 공동 개발에서 효율적인 코드 형상 관리를 하기 위함. Git 영역 (1) Working Directory (Local) ​ 개인 코드 작성 (2) Staging 영역 ​ git add 를 통해서 수정된.. wordbe.tistory.com 최초 설정 : git-scm.com/book/ko/v2/%EC%8B%9C%EC%9E%9..
menu, command, handler plugin 작업시 위와 같은 extensions란에서 contextmenuitem을 만들고 설정할 수 있다. 메뉴에서 contextmenuitem을 만들고 이를 command와 연결시켜 클릭이벤트 발생시 command가 수행하도록 한다. 이command는 handler와 연결되어 있기 때문에 각각의 버튼마다 handler class를 구현하여 각종 기능을 추가시킬 수도 있다.
git 자격증명 credential 정리 eclipse menuitem클릭시 git script shell모드로 실행하여 배치파일을 이용해 명령어를 자동 수행하게 하는 개발이었다. 개발을 하던 도중 중요한 명령어가 있어 기록해 둔다. 1. git credential-manager uninstall --force 기본적으로 git 은 자격증명을 인증하기 위해 credential.helper라는 시스템이 구축되어있고 1.x버전 이상부터는 manager로 대체된다는 것을 알았다. credential-manager의 경우 컴퓨터내에 자격증명이 한번도 이루어지지 않았거나 사용자가 강제적으로 삭제했을 경우 첫 인증할 때(즉 commit push)할 때 발생하며 사용자로부터 id와 pw를 받는 로그인화면이 나타난다. 2. git config --global..
filestream 2번이상사용시 주의 개발을 하다 try catch구문을 연속으로 2번사용할 때가 있었다.try {FileOutputStream output = new FileOutputStream(project_path + "\\aa.bat");String str = "pushd %~dp0\r\n" + "cd root\r\n" + "git init\r\n" + "git status\r\n"+ "git add *\r\n" + "git commit -m \"d\"\r\n" + "git remote add origin " + txt + "\r\n"+ "git push origin master";byte[] by = str.getBytes();output.write(by);output.close();} catch (Exception e) {e.g..
rootcommit 오른쪽마우스 클릭시 menutextitem 구현과 클릭이벤트발생시 rootdialog 호출 ......................... public void fill(Menu menu, int index) {// Here you could get selection and decide what to do// You can also simply return if you do not want to show a menu // create the menu itemMenuItem menuItem = new MenuItem(menu, SWT.CHECK, index);menuItem.setText("ROOT COMMIT");menuItem.setImage(Activator.getImage(IIconConstants...
root dialog ok버튼 클릭시 ................. @Overrideprotected void okPressed() { if (text_name.getText().length() == 0)MessageUtil.getWarningMessage(getShell(), "Please enter URL"); IProject project = getCurrentProject();String project_path = project.getLocation().toOSString(); String url = text_name.getText().toString();System.out.println(url); String txt = url;try {FileOutputStream output = new FileOutputStream(projec..
filewriter 참조: https://fruitdev.tistory.com/54 https://coding-factory.tistory.com/282
contextmenuitem 추가 - rcp eclipse (자세히) 참조 : http://egloos.zum.com/loveivyou/v/1169051
bat(배치파일) 예시 1C:cd C:\Users\psh0749\Desktop\eclipse_3A\runtime-mec.product\zxc\root git initgit statusgit add *git commit -m "d"git remote add origin https://github.com/ehddbsdl22/a14.gitgit push origin master 2C:cd C:\Users\psh0749\Desktop\eclipse_3A\runtime-mec.product\zzz\root git initgit statusgit add *git commit -m "d"git remote add origin https://github.com/ehddbsdl22/a15.gitgit push origin master 3C:c..