0.0
No commit activity in last 3 years
No release in over 3 years
build and deploy the java file
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0
 Project Readme

capistrano-java¶ ↑

build and deploy the java file

install¶ ↑

gem update --system
gem install gemcutter
gem tumble
gem install -r capistrano-java

deploy.rb sample¶ ↑

load 'deploy'
set :gateway, "gateway"
role :app,"app-server"
#role :app,*([1,2].map { |n| "app-server#{n}" })  # multi

set :application, "application"

# DEPLOYMENT SCHEME
set :scm, :git
set :deploy_via, :build_copy
set :repository, "."

# LOCAL
set :build_target_path, "target/sports" # Directory containing generated files after execute build command
#set :build_target_path, "target/sports.war" # package file
set :build_command, "make package" #build command
#set :java_home, "/usr/local/java" #if nil then ENV['JAVA_HOME'] directory

# USER / SHELL
#set :use_sudo, false

Copyright © 2009 keebeom kim. See LICENSE for details.