@@ -84,11 +84,9 @@ def __add_shared_libraries(self):
84
84
root_path = self .aliases .get_wlst_subfolders_path (self ._base_location )
85
85
shared_library_location = LocationContext (self ._base_location ).append_location (LIBRARY )
86
86
shared_library_token = self .aliases .get_name_token (shared_library_location )
87
- existing_shared_libraries = deployer_utils .get_existing_object_list (shared_library_location , self .aliases )
88
87
89
88
for shared_library_name in shared_libraries :
90
- self .logger .info ('WLSDPLY-09608' , LIBRARY , shared_library_name , self ._parent_type , self ._parent_name ,
91
- class_name = self ._class_name , method_name = _method_name )
89
+ existing_shared_libraries = deployer_utils .get_existing_object_list (shared_library_location , self .aliases )
92
90
93
91
if model_helper .is_delete_name (shared_library_name ):
94
92
if self .__verify_delete_versioned_app (shared_library_name , existing_shared_libraries , type = 'lib' ):
@@ -97,6 +95,9 @@ def __add_shared_libraries(self):
97
95
existing_names = deployer_utils .get_existing_object_list (location , self .aliases )
98
96
deployer_utils .delete_named_element (location , shared_library_name , existing_names , self .aliases )
99
97
continue
98
+ else :
99
+ self .logger .info ('WLSDPLY-09608' , LIBRARY , shared_library_name , self ._parent_type , self ._parent_name ,
100
+ class_name = self ._class_name , method_name = _method_name )
100
101
101
102
#
102
103
# In WLST offline mode, the shared library name must match the fully qualified name, including
0 commit comments