Class: JavaWebApp
- Inherits:
-
FPM::Cookery::Recipe
- Object
- FPM::Cookery::Recipe
- JavaWebApp
- Extended by:
- Gordon::Cookery::DependencyResolver
- Includes:
- Gordon::Cookery::Common, Gordon::Cookery::Java::Common, Gordon::Cookery::Java::WebApp, Gordon::Cookery::WebServer
- Defined in:
- lib/gordon/application/templates/java_web_app.rb
Constant Summary
Constants included from Gordon::Cookery::Common
Gordon::Cookery::Common::MAIN_BLACKLIST_FILES
Constants included from Gordon::Cookery::Java::Common
Gordon::Cookery::Java::Common::JAVA_BLACKLIST_FILES
Instance Method Summary collapse
Methods included from Gordon::Cookery::DependencyResolver
Methods included from Gordon::Cookery::Common
#all_files_except_blacklisted, #create_skeleton_type, #get_skeleton_path_from_type, included
Methods included from Gordon::Cookery::WebServer
Methods included from Gordon::Cookery::Java::WebApp
Instance Method Details
#build ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/gordon/application/templates/java_web_app.rb', line 29 def build web_server_path = get_skeleton_path_from_type($env_vars, $env_vars.web_server_type) war_path = File.join(web_server_path, $env_vars.app_name) clean_java_web_workdir($env_vars, war_path) end |
#install ⇒ Object
37 38 39 |
# File 'lib/gordon/application/templates/java_web_app.rb', line 37 def install install_web_server_files($env_vars, JAVA_BLACKLIST_FILES) end |