2022-09-06 10:51:46 -04:00
|
|
|
function lr
|
|
|
|
{
|
|
|
|
(( $# != 1 )) && return 64
|
|
|
|
case $1 in
|
|
|
|
all)
|
|
|
|
(jr && ant all)
|
|
|
|
;;
|
|
|
|
bl)
|
2022-10-30 06:04:30 -04:00
|
|
|
(jr && cd modules/apps/portal-language/portal-language-lang && gw buildLang)
|
2022-09-06 10:51:46 -04:00
|
|
|
;;
|
2022-10-04 10:11:41 -04:00
|
|
|
kill)
|
|
|
|
pkill -9 -f Liferay
|
|
|
|
psql -c 'drop schema ce cascade;' -c 'create schema authorization ce;' postgres postgres
|
|
|
|
(jr && rm -rf ../bundles/data && rm -rf ../bundles/osgi/state)
|
|
|
|
;;
|
|
|
|
killdaemon)
|
|
|
|
pkill -9 -f gradle
|
|
|
|
;;
|
2022-09-06 10:51:46 -04:00
|
|
|
sf|fs)
|
|
|
|
(jr && cd portal-impl && ant format-source)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
return 64
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|