LPS-46336 Use the path command to set the directories that are relevant when running it from root (sdk's dir), from a specific type of plugin's dir (portlets), or from a specific dir (chat-portlet)
LPS-46336 Consolidate code into build-common.xml
LPS-45501 update