Class: JavaStandaloneApp
- Inherits:
-
FPM::Cookery::Recipe
- Object
- FPM::Cookery::Recipe
- JavaStandaloneApp
- Extended by:
- Gordon::Cookery::DependencyResolver
- Includes:
- Gordon::Cookery::ApplicationUser, Gordon::Cookery::Common, Gordon::Cookery::Init, Gordon::Cookery::Java::Common, Gordon::Cookery::Log, Gordon::Cookery::Standalone
- Defined in:
- lib/gordon/application/templates/java_standalone_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::Init
Methods included from Gordon::Cookery::Log
Methods included from Gordon::Cookery::ApplicationUser
#create_user_and_group, #setup_user_permissions
Methods included from Gordon::Cookery::Standalone
Instance Method Details
#build ⇒ Object
30 31 32 33 34 35 |
# File 'lib/gordon/application/templates/java_standalone_app.rb', line 30 def build home_path = get_skeleton_path_from_type($env_vars, :misc) create_user_and_group($env_vars, home_path) ($env_vars, home_path) end |
#install ⇒ Object
37 38 39 40 41 |
# File 'lib/gordon/application/templates/java_standalone_app.rb', line 37 def install create_log_folder($env_vars) install_standalone_files($env_vars, JAVA_BLACKLIST_FILES) end |