IDE-1073

Fixed auto-deploy not working for remote server
problem, together with liferay-plugins fix.