Maven으로 PMD check 중에
[WARNING] Error while parsing xx/xx.java: Can't use generics unless running in JDK 1.5 mode!
라는 메시지가 떠서 구글을 검색해봤는데

<properties> 

   <targetJdk>1.6</targetJdk> 
</properties> 


이것을 추가 하라고 나옵니다.
Posted by 빨강토끼
,
리눅스에서 jenkins 를 사용하고 있는데
Jenkins의 새버젼이 나왔다고해서 업데이트를 하려고 하는데 하는 방법을 몰라 인터넷을 찾아보니 보이지 않았다.
사실알고보니 처음에 jenkins.war 가 있던 곳(java -jar jenkins.war)에 새로운 jenkins를 복사하면됩니다.
.
.
.
Posted by 빨강토끼
,

메일설정(gmail)
SMTP server : smtp.gmail.com
Default user e-mail suffix : 비움
System Admin E-mail Address : gmail address

(체크) use SMTP Authentication
User Name : gmail address(전체주소)
Passwork : 비밀번호
Use SSL : 체크
SMTP Port : 465
Charset : UTF-8

Posted by 빨강토끼
,
redmine 을 사용시 작업에 관한 사항들을 이메일로 전달하고 싶은데 따로 smtp 서버를 구축하기가 번거롭다면
gmail 을 사용하는 것을 고려해볼수 있습니다.
게다가 요즘에는 회사에서도 google app 을 많이들 사용하는 추세이므로 매력적인 선택이 될수있겠습니다.

먼저 plugin 을 설치해야됩니다.
아래명령을 실행하거나
ruby script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git

혹은 아래 주소로 가서 소스를 다운받아 redmine설치경로/vendor/plugins/action_mailer_optional_tls 에 압축을 풀면 됩니다.
http://github.com/collectiveidea/action_mailer_optional_tls

그런후 redmine설치경로/apps/redmine/config/ 에 있는
email.yml.example 를 email.yml 으로 하나 복사합니다.
cp email.yml.example email.yml

그런다음 email.yml 을 아래와 같이 수정합니다.
production:
  delivery_method: :smtp
  smtp_settings
:
    tls: true
    enable_starttls_auto: true
    address: "smtp.gmail.com"
    port: '587'
    domain: "smtp.gmail.com"
    authentication
: :plain
    user_name: "your_email@gmail.com"
    password
: "your_password"



Posted by 빨강토끼
,