Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 미세먼지
- Linux
- 오징어게임3
- 코로나
- aws
- ai 창작 소설
- 크롬
- 로드밸런싱
- 클러스터링
- 포켓몬고
- Docker
- IOS
- 마스크
- 시간의 심장
- 대체 역사 소설
- 포켓몬 고
- OSX
- 공기청정기
- 기아타스만
- 초미세먼지
- ubuntu-server
- tomcat
- sf
- lb
- PM 2.5
- java
- 창문형 에어컨
- 포켓몬고 플러스
- 기아 K4
- 기아 타스만
Archives
- Today
- Total
살며사랑하며
eclipse gradle cargo 본문
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.bmuschko:gradle-cargo-plugin:2.2.3"
}
}
apply plugin: "java"
apply plugin: "war"
apply plugin: "com.bmuschko.cargo"
group = 'com.drawhan'
version = '1.0.1'
description = 'Project Description'
sourceCompatibility = 1.8
targetCompatibility = 1.8
//war.baseName = 'ROOT'
war.archiveName "ROOT.war"
project.webAppDirName = 'src/main/webapp'
configurations { providedCompile }
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "http://repo1.maven.org/maven2/" }
maven { url "http://repo.springsource.org/libs-milestone-local" }
}
cargo {
containerId = 'tomcat8x'
port = 8080
deployable {
context = '/'
}
remote {
hostname = 'localhost'
username = 'tomcat'
password = 'tomcat'
}
local {
homeDir = file('/PROJECT_DIR/build/libs')
outputFile = file('build/output.log')
timeout = 60000
containerProperties {
//property 'cargo.tomcat.ajp.port', 8009
}
}
}
dependencies {
def cargoVersion = '1.4.5'
cargo "org.codehaus.cargo:cargo-core-uberjar:$cargoVersion",
"org.codehaus.cargo:cargo-ant:$cargoVersion"
}
}
repositories {
jcenter()
}
dependencies {
classpath "com.bmuschko:gradle-cargo-plugin:2.2.3"
}
}
apply plugin: "java"
apply plugin: "war"
apply plugin: "com.bmuschko.cargo"
group = 'com.drawhan'
version = '1.0.1'
description = 'Project Description'
sourceCompatibility = 1.8
targetCompatibility = 1.8
//war.baseName = 'ROOT'
war.archiveName "ROOT.war"
project.webAppDirName = 'src/main/webapp'
configurations { providedCompile }
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "http://repo1.maven.org/maven2/" }
maven { url "http://repo.springsource.org/libs-milestone-local" }
}
cargo {
containerId = 'tomcat8x'
port = 8080
deployable {
context = '/'
}
remote {
hostname = 'localhost'
username = 'tomcat'
password = 'tomcat'
}
local {
homeDir = file('/PROJECT_DIR/build/libs')
outputFile = file('build/output.log')
timeout = 60000
containerProperties {
//property 'cargo.tomcat.ajp.port', 8009
}
}
}
dependencies {
def cargoVersion = '1.4.5'
cargo "org.codehaus.cargo:cargo-core-uberjar:$cargoVersion",
"org.codehaus.cargo:cargo-ant:$cargoVersion"
}
}
728x90