Skip to content

Commit c115224

Browse files
committed
duplicating the fix for shared libraries
1 parent 779b4b8 commit c115224

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/src/main/python/wlsdeploy/tool/deploy/applications_deployer.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,9 @@ def __add_shared_libraries(self):
8484
root_path = self.aliases.get_wlst_subfolders_path(self._base_location)
8585
shared_library_location = LocationContext(self._base_location).append_location(LIBRARY)
8686
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)
8887

8988
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)
9290

9391
if model_helper.is_delete_name(shared_library_name):
9492
if self.__verify_delete_versioned_app(shared_library_name, existing_shared_libraries, type='lib'):
@@ -97,6 +95,9 @@ def __add_shared_libraries(self):
9795
existing_names = deployer_utils.get_existing_object_list(location, self.aliases)
9896
deployer_utils.delete_named_element(location, shared_library_name, existing_names, self.aliases)
9997
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)
100101

101102
#
102103
# In WLST offline mode, the shared library name must match the fully qualified name, including

0 commit comments

Comments
 (0)