File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
resources/oracle/weblogic/deploy/messages Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 44
44
from wlsdeploy .tool .validate .validator import Validator
45
45
from wlsdeploy .util import getcreds
46
46
from wlsdeploy .util import model_translator
47
+ from wlsdeploy .util import path_utils
47
48
from wlsdeploy .util import tool_exit
48
49
from wlsdeploy .util import wlst_extended
49
50
from wlsdeploy .util import wlst_helper
@@ -159,6 +160,11 @@ def __process_archive_filename_arg(required_arg_map):
159
160
_method_name = '__process_archive_filename_arg'
160
161
161
162
archive_file_name = required_arg_map [CommandLineArgUtil .ARCHIVE_FILE_SWITCH ]
163
+ archive_dir_name = path_utils .get_parent_directory (archive_file_name )
164
+ if os .path .exists (archive_dir_name ) is False :
165
+ ex = exception_helper .create_cla_exception ('WLSDPLY-06026' , archive_file_name )
166
+ __logger .throwing (ex , class_name = _class_name , method_name = _method_name )
167
+ raise ex
162
168
try :
163
169
archive_file = WLSDeployArchive (archive_file_name )
164
170
except (IllegalArgumentException , IllegalStateException ), ie :
Original file line number Diff line number Diff line change @@ -475,6 +475,7 @@ WLSDPLY-06023=No domain name found in the domain configuration
475
475
WLSDPLY-06024 =No variable file provided. Model passwords will contain the token '-- FIX ME --'
476
476
WLSDPLY-06025 =Variable file was provided. Model password attributes will be replaced with tokens and corresponding \
477
477
values put into the variable file.
478
+ WLSDPLY-06026 =Target directory for archive file argument {0} does not exist
478
479
479
480
# discoverer.py
480
481
WLSDPLY-06100 =Find attributes at location {0}
You can’t perform that action at this time.
0 commit comments