Category Archives: Util/Tools

python 개발환경 설정

  1. python 설치 http://www.python.org/ 다운로드 > 릴리즈 > Python 2.5.6 > 2.5.4 다운로드(http://www.python.org/download/releases/2.5.4/) 2. eclipse 설치 http://eclipse.org/ 다운로드 > Eclipse Classic 4.2 다운로드 pydev plugin 설치 : http://pydev.org/updates svn plugin 설치 : http://subclipse.tigris.org/update_1.8.x/ Python 인터프린터 설정 : 이클립스메뉴 > … Continue reading

Posted in Python/Ruby/Perl, Util/Tools | Tagged , , , | Leave a comment

redmine 의 roadmap 에 담당자 정보와 상태 정보가 보이도록 수정

  redmine의 roadmap 으로 sprint review 를 하는데 담당자 정보가 안보여서 자꾸 헤메서 redmine 의 roadmap 에 담당자 정보 보이도록 수정했다. vi {redmine}/app/views/versions/index.html.erb …     <table class=”list related-issues”>     <caption><%= l(:label_related_issues) %></caption>     <% issues.each do |issue| … Continue reading

Posted in Util/Tools | Tagged , , , , | Leave a comment

maven-dependency-plugin (goals “copy-dependencies”,”unpack”) is not supported by m2e 에러..

  pom.xml 부분 jar를 작성하기 위해서는 maven-jar-plugin 이 필요하며, 의존성 jar 파일들을 제어하기 위해서는 maven-dependency-plugin이 필요하다. 그러나 maven-dependency-plugin 설정을 하여 m2eclipse로 package하게 되면 다음과 같은 메세지의 에러가 발생된다. maven-dependency-plugin (goals “copy-dependencies”,”unpack”) is not supported by m2e 이를 해결하기 위하여 구글링해보면, … Continue reading

Posted in Java/JSP, Util/Tools | Tagged , , | Leave a comment

eclipse svn의 url 변경

  사무실을 이전하면서 redmine 과 svn 의 ip 가 바꿨다. 그에 따라 svn 서버의 주소도 바꿨다. 그런데 이클립스의 프로젝트들은 모두 예전 ip의 svn 을 바라보고 있어서 update 가 안된다. 이럴때는 이클립스에서 SVN Repository Exploring Perspective 으로 변경해서 리파지토리에 마우스 우클릭하여 … Continue reading

Posted in SCM/ITS, Util/Tools | Tagged , , | Leave a comment

Java DateUtil

  Java DateUtil package com.apollo89.java.util; import java.text.DateFormat; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.Locale; import java.util.TimeZone; import java.util.Vector; public class DateUtil { public static String getDate2String(String date, String originFormat, String targetFormat, String locale) { SimpleDateFormat … Continue reading

Posted in Java/JSP, Util/Tools | Tagged , | Leave a comment

파일의 첫라인을 지우는 스크립트.

  작업을 하다가 엄청난 수의 파일중에 특정문자열(“format=%S”) 이 포함된 파일의 첫번째 줄을 지워야 하는 문제가 발생해서 스크립트를 하나 작성했다. 물론 하부 디렉토리도 많이 있으며, 모든 파일 대상이다. find 명령어와 sed 명령을 이용해 해결했다. 응용하면 더 잼있는 것도 만들수 있을 듯.. … Continue reading

Posted in System, Util/Tools | Tagged , , , , | Leave a comment

우분투에 원격 데스트톱 연결(xrdp)

  우분투에 원격 데스트톱 연결(xrdp) 1. 설치. $ sudo apt-get install xrdp 2. 설정 설치된 홈 폴더의 .xsession 파일에 다음 줄을 추가 $ sudo vi ~/.xsession gnome-session –session=ubuntu-2d 3. 접속 윈도우의 원격 데스크탑 연결을 열어 접속. 정상으로 RDP 연결이 되었습니다. … Continue reading

Posted in System, Util/Tools | Tagged , , , , , | Leave a comment