Skip to content

badaboda/capistrano-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

build and deploy the java file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages