Example #1
0
 def ask_application_name(cls, parameter_pool):
     if not parameter_pool.has(ParameterName.ApplicationName):
         app_name = shell_utils.get_current_dir_name()
         cls.ask_parameter(parameter_pool,
                           ParameterName.ApplicationName,
                           autogen_value=app_name)
     else:
         cls.ask_parameter(parameter_pool, ParameterName.ApplicationName)
 def ask_application_name(cls, parameter_pool):
     if not parameter_pool.has(ParameterName.ApplicationName):
         app_name = shell_utils.get_current_dir_name()
         cls.ask_parameter(parameter_pool, 
                            ParameterName.ApplicationName,
                            autogen_value = app_name)
     else:
         cls.ask_parameter(parameter_pool, ParameterName.ApplicationName)            
Example #3
0
 def ask_application_name(cls, parameter_pool):
     if not parameter_pool.has(ParameterName.ApplicationName):
         app_name = shell_utils.get_current_dir_name()
         cls.ask_parameter(parameter_pool, 
                            ParameterName.ApplicationName,
                            autogen_value = app_name)
     else:
         #cls.ask_parameter(parameter_pool, ParameterName.ApplicationName)
         msg_value = parameter_pool.get_value(ParameterName.ApplicationName, False)
         print "App name is %s \n" % msg_value
         return msg_value