@@ -62,7 +62,6 @@ class CommandLineArgUtil(object):
62
62
ATTRIBUTES_ONLY_SWITCH = '-attributes_only'
63
63
FOLDERS_ONLY_SWITCH = '-folders_only'
64
64
RECURSIVE_SWITCH = '-recursive'
65
- ATP_PROPERTIES_FILE_SWITCH = '-atp_properties_file'
66
65
# overrides for the variable injector
67
66
VARIABLE_INJECTOR_FILE_SWITCH = '-variable_injector_file'
68
67
VARIABLE_KEYWORDS_FILE_SWITCH = '-variable_keywords_file'
@@ -370,16 +369,6 @@ def process_args(self, args, for_domain_create=False):
370
369
ex = self ._get_out_of_args_exception (key )
371
370
self ._logger .throwing (ex , class_name = self ._class_name , method_name = method_name )
372
371
raise ex
373
- elif self .is_atp_properties_file_key (key ):
374
- idx += 1
375
- if idx < args_len :
376
- full_path = self ._validate_atp_properties_file_arg (args [idx ])
377
- self ._add_arg (key , full_path , True )
378
- else :
379
- ex = self ._get_out_of_args_exception (key )
380
- self ._logger .throwing (ex , class_name = self ._class_name , method_name = method_name )
381
- raise ex
382
-
383
372
else :
384
373
ex = exception_helper .create_cla_exception ('WLSDPLY-01601' , self ._program_name , key )
385
374
ex .setExitCode (self .USAGE_ERROR_EXIT_CODE )
@@ -969,9 +958,6 @@ def get_variable_properties_file_key(self):
969
958
def is_variable_properties_file_key (self , key ):
970
959
return self .VARIABLE_PROPERTIES_FILE_SWITCH == key
971
960
972
- def is_atp_properties_file_key (self , key ):
973
- return self .ATP_PROPERTIES_FILE_SWITCH == key
974
-
975
961
def _validate_variable_properties_file_arg (self , value ):
976
962
method_name = '_validate_variable_properties_file_arg'
977
963
@@ -984,17 +970,6 @@ def _validate_variable_properties_file_arg(self, value):
984
970
raise ex
985
971
return variables .getAbsolutePath ()
986
972
987
- def _validate_atp_properties_file_arg (self , value ):
988
- method_name = '_validate_atp_properties_file_arg'
989
-
990
- try :
991
- rcu_properties = JFileUtils .validateFileName (value )
992
- except JIllegalArgumentException , iae :
993
- ex = exception_helper .create_cla_exception ('WLSDPLY-01620' , value , iae .getLocalizedMessage (), error = iae )
994
- ex .setExitCode (self .ARG_VALIDATION_ERROR_EXIT_CODE )
995
- self ._logger .throwing (ex , class_name = self ._class_name , method_name = method_name )
996
- raise ex
997
- return rcu_properties .getAbsolutePath ()
998
973
999
974
###########################################################################
1000
975
# Helper methods #
0 commit comments