Archive for 12월, 2014

link – Programming // Speaker Deck

2014/12/30

https://speakerdeck.com/c/programming

from mobile

Advertisements

s 2014 Ultimate Java Developer Library, Tool & People List

2014/12/29

Shared from Zite

[link] GVM on Windows

2014/12/29

1) powershell 을 이용한 해결방식

from : http://paweloczadly.github.io/dev/2014/07/02/gvm-on-windows/

1) check version : 3+

$PSVersionTable.PSVersion

2) check module

3) import module

> but…

경고: This command is not available in offline mode. 메세지가 나오면서 실패함.

2) gravy

https://github.com/enterprise-grails/gravy

lazybones-templates – Generic – Bintray

2014/12/25

https://bintray.com/pledbrook/lazybones-templates

lazybones templates bintray
나의 iPad에서 보냄

구글 고(Go)의 위력을 입증하는 오픈소스 프로젝트 10가지 – CIO Korea

2014/12/23

[gradle] optional dependency resolution

2014/12/23

– problem : we want to deploy conditional dependency libraries

if you use ssh-ant, add related library. otherwise remove those libraries.

– solution : add groovy  script code

– how to

1. make variable to gradle.properties

ex) ext_dependencies

2. add conditional dependency to build.gradle

if(ext_dependencies?.contains(‘your_dependency_variable_value’)){
{dependency}

}

================================

# gradle.properties

ext_dependencies=ssh-ant

# build.gradle

dependencies {

if(ext_dependencies?.contains(‘ssh-ant’)){
runtime ‘org.apache.ant:ant-jsch:1.9.4’
runtime ‘jsch:jsch:+’
}

}

Run groovy scripts in sublime text

2014/12/22

Shared from Zite

[TroubleShooting] gradle pmd “can’t find resource null”

2014/12/19

– symptom : if you define pmd ruleset, then gradle execute fail.

gradle version : 2.0+

– cause

when gradle 2.0 , change pmd tool version ( 4 -> 5)

http://www.gradle.org/docs/2.0/release-notes

– how to fix

A) change toolversion : 4.3

B) change ruleset names xxx -> java-xxx

http://forums.gradle.org/gradle/topics/_pmdtest_fails_with_cant_find_resource_null_when_rulesets_include_braces_gradle_2_0_rc_1

build.gradle

pmd{

ruleSets = [‘basic’, ‘braces’]

}

>gradle pmd

can’t find resource null”

36.Pluggability web fragment

2014/12/18

http://dev.anyframejava.org/docs/anyframe/plugin/essential/core/1.5.1/reference/html/ch36.html

from mobile

[TroubleShooting] gradle error – A problem occurred evaluating … ShortTypeHandling

2014/12/17

– symptom

>gradlew appstart

FAILURE: Build failed with an exception.

* Where:
Build file ‘build.gradle’ line: 23

* What went wrong:
A problem occurred evaluating root project ‘XXXX’.
> org/codehaus/groovy/runtime/typehandling/ShortTypeHandling

* Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.

– cause

gradle version is too lower

– solution

update gradle version ( gradle-wrapper.properties )

ex) distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-bin.zip