Deploy Several Liferay dependencies at once

Go to your plugins folder in your terminal: then paste and run the script. For this example the code deploys the dependencies for “Seven Cogs”,

var=”portlets/google-maps-portlet,
webs/kaleo-web, portlets/mail-portlet,
themes/sevencogs-mobile-theme,
themes/sevencogs-theme,
portlets/social-networking-portlet,
portlets/web-form-portlet”;
for v in ${var//,/ };
do cd $v;
ant clean deploy; cd ../..;
done
You can easily swap out the variables and make it work for your particular project Thanks to Nathan Cavanaugh for letting me know about this tip a while ago.

  1. liferaytips posted this

Blog comments powered by Disqus