Sha256: 50c16e9c9110a99ef8ba2b09d0a28f0aa046c5d9b0d0a60f327cf77f4eb4fd6d
Contents?: true
Size: 784 Bytes
Versions: 1
Compression:
Stored size: 784 Bytes
Contents
module VraptorScaffold module Runner class Start def run(args) validate Kernel.system("ant compile") Kernel.system("sh $APPENGINE_SDK_HOME/bin/dev_appserver.sh #{Configuration::WEB_APP}") end private def validate unless File.exist?("src") Kernel.puts "To run vraptor start please go to the project root folder." Kernel::exit end unless Configuration.orm == "objectify" Kernel.puts "vraptor start command is available only for gae apps." Kernel::exit end unless ENV['APPENGINE_SDK_HOME'] Kernel.puts "To run vraptor start, configure environment variable APPENGINE_SDK_HOME." Kernel::exit end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vraptor-scaffold-1.3.0.rc | lib/vraptor-scaffold/runner/start.rb |